/*
 * This is a RANDOMLY GENERATED PROGRAM.
 *
 * Generator: csmith 2.4.0
 * Git version: 8b4af0a
 * Options:   --bitfields --packed-struct --output test46678.c
 * Seed:      14392271141481871935
 */

#include "csmith.h"


static long __undefined;

/* --- Struct/Union Declarations --- */
#pragma pack(push)
#pragma pack(1)
struct S0 {
   uint64_t  f0;
};
#pragma pack(pop)

#pragma pack(push)
#pragma pack(1)
struct S1 {
   int32_t  f0;
   const unsigned f1 : 19;
   volatile unsigned f2 : 25;
   const signed f3 : 24;
   unsigned f4 : 28;
   volatile unsigned f5 : 5;
   unsigned f6 : 26;
   volatile unsigned f7 : 20;
   volatile unsigned f8 : 17;
   volatile signed f9 : 9;
};
#pragma pack(pop)

union U2 {
   volatile uint32_t  f0;
   int8_t  f1;
   const volatile uint16_t  f2;
   uint8_t  f3;
   volatile int64_t  f4;
};

/* --- GLOBAL VARIABLES --- */
static int32_t g_2[8][3] = {{0xC60EDAC7L,1L,1L},{7L,(-1L),7L},{0xC60EDAC7L,0xC60EDAC7L,1L},{0L,(-1L),0L},{0xC60EDAC7L,1L,1L},{7L,(-1L),7L},{0xC60EDAC7L,0xC60EDAC7L,1L},{0L,(-1L),0L}};
static int32_t g_15 = 0x8F1FE3D2L;
static int64_t g_17 = 0xAF1BA1372625AA9CLL;
static int32_t g_21[9][3] = {{0xB5C1ED52L,0x7187D7A7L,0xB5C1ED52L},{0xB5C1ED52L,0x7187D7A7L,0xB5C1ED52L},{0xB5C1ED52L,0x7187D7A7L,0xB5C1ED52L},{0xB5C1ED52L,0x7187D7A7L,0xB5C1ED52L},{0xB5C1ED52L,0x7187D7A7L,0xB5C1ED52L},{0xB5C1ED52L,0x7187D7A7L,0xB5C1ED52L},{0xB5C1ED52L,0x7187D7A7L,0xB5C1ED52L},{0xB5C1ED52L,0xB5C1ED52L,1L},{1L,0xB5C1ED52L,1L}};
static int16_t g_22 = (-4L);
static const union U2 g_29 = {0x8461A3ECL};/* VOLATILE GLOBAL g_29 */
static uint32_t g_50 = 4294967291UL;
static uint64_t g_79 = 0xCDE8027EF3DD4F1ALL;
static int32_t g_82 = 3L;
static int32_t *g_81 = &g_82;
static int16_t g_86 = 0L;
static volatile uint64_t g_88 = 0x92E16A0CFD0E8CD9LL;/* VOLATILE GLOBAL g_88 */
static int32_t * volatile g_95 = &g_15;/* VOLATILE GLOBAL g_95 */
static uint32_t g_124 = 0UL;
static const volatile union U2 g_136 = {0x40517D7DL};/* VOLATILE GLOBAL g_136 */
static int32_t *g_141[4] = {(void*)0,(void*)0,(void*)0,(void*)0};
static int32_t **g_140 = &g_141[0];
static uint16_t g_143 = 4UL;
static struct S0 g_152 = {1UL};
static struct S1 g_163 = {0L,423,4810,1655,9264,3,7039,372,23,1};/* VOLATILE GLOBAL g_163 */
static uint64_t g_165 = 0x3A2B08F23623D71ALL;
static struct S1 *g_167[2][9][9] = {{{&g_163,&g_163,&g_163,&g_163,&g_163,&g_163,&g_163,&g_163,&g_163},{(void*)0,(void*)0,(void*)0,&g_163,&g_163,(void*)0,(void*)0,(void*)0,&g_163},{&g_163,&g_163,&g_163,&g_163,&g_163,&g_163,&g_163,&g_163,&g_163},{&g_163,&g_163,&g_163,(void*)0,(void*)0,(void*)0,(void*)0,&g_163,&g_163},{&g_163,&g_163,&g_163,&g_163,&g_163,&g_163,&g_163,&g_163,&g_163},{&g_163,&g_163,&g_163,&g_163,&g_163,&g_163,(void*)0,(void*)0,(void*)0},{&g_163,&g_163,&g_163,&g_163,&g_163,&g_163,&g_163,&g_163,&g_163},{&g_163,(void*)0,(void*)0,(void*)0,&g_163,(void*)0,(void*)0,(void*)0,&g_163},{&g_163,&g_163,&g_163,&g_163,&g_163,&g_163,&g_163,&g_163,&g_163}},{{&g_163,(void*)0,(void*)0,&g_163,(void*)0,(void*)0,&g_163,&g_163,(void*)0},{&g_163,&g_163,&g_163,&g_163,&g_163,&g_163,&g_163,&g_163,&g_163},{&g_163,(void*)0,&g_163,(void*)0,&g_163,&g_163,&g_163,&g_163,&g_163},{&g_163,&g_163,&g_163,&g_163,&g_163,&g_163,&g_163,&g_163,&g_163},{&g_163,&g_163,&g_163,&g_163,(void*)0,&g_163,(void*)0,&g_163,&g_163},{&g_163,&g_163,&g_163,&g_163,&g_163,&g_163,&g_163,&g_163,&g_163},{&g_163,&g_163,(void*)0,(void*)0,&g_163,&g_163,(void*)0,(void*)0,&g_163},{&g_163,&g_163,&g_163,&g_163,&g_163,&g_163,&g_163,&g_163,&g_163},{&g_163,(void*)0,(void*)0,&g_163,&g_163,(void*)0,&g_163,(void*)0,&g_163}}};
static struct S1 ** volatile g_166 = &g_167[0][6][2];/* VOLATILE GLOBAL g_166 */
static uint8_t g_216 = 0xFDL;
static uint8_t g_218 = 246UL;
static uint64_t **g_236 = (void*)0;
static uint64_t *** volatile g_235 = &g_236;/* VOLATILE GLOBAL g_235 */
static int8_t g_257 = 0xFFL;
static const int32_t ** volatile g_263 = (void*)0;/* VOLATILE GLOBAL g_263 */
static volatile struct S1 g_312 = {-1L,530,4973,-3850,12301,0,6320,447,151,-7};/* VOLATILE GLOBAL g_312 */
static volatile struct S1 g_358 = {0xD9775552L,47,4237,-30,2510,4,6389,464,181,17};/* VOLATILE GLOBAL g_358 */
static volatile struct S1 g_393[4][8] = {{{-9L,265,2038,1630,3806,3,4275,582,207,-3},{-9L,265,2038,1630,3806,3,4275,582,207,-3},{1L,292,1482,2815,10476,3,8150,979,223,-19},{-9L,265,2038,1630,3806,3,4275,582,207,-3},{-9L,265,2038,1630,3806,3,4275,582,207,-3},{1L,292,1482,2815,10476,3,8150,979,223,-19},{-9L,265,2038,1630,3806,3,4275,582,207,-3},{-9L,265,2038,1630,3806,3,4275,582,207,-3}},{{1L,439,2172,-194,644,0,7781,52,232,-17},{-9L,265,2038,1630,3806,3,4275,582,207,-3},{1L,439,2172,-194,644,0,7781,52,232,-17},{1L,439,2172,-194,644,0,7781,52,232,-17},{-9L,265,2038,1630,3806,3,4275,582,207,-3},{1L,439,2172,-194,644,0,7781,52,232,-17},{1L,439,2172,-194,644,0,7781,52,232,-17},{-9L,265,2038,1630,3806,3,4275,582,207,-3}},{{-9L,265,2038,1630,3806,3,4275,582,207,-3},{1L,439,2172,-194,644,0,7781,52,232,-17},{1L,439,2172,-194,644,0,7781,52,232,-17},{-9L,265,2038,1630,3806,3,4275,582,207,-3},{1L,292,1482,2815,10476,3,8150,979,223,-19},{1L,292,1482,2815,10476,3,8150,979,223,-19},{1L,439,2172,-194,644,0,7781,52,232,-17},{1L,292,1482,2815,10476,3,8150,979,223,-19}},{{1L,439,2172,-194,644,0,7781,52,232,-17},{1L,439,2172,-194,644,0,7781,52,232,-17},{-9L,265,2038,1630,3806,3,4275,582,207,-3},{1L,439,2172,-194,644,0,7781,52,232,-17},{1L,439,2172,-194,644,0,7781,52,232,-17},{-9L,265,2038,1630,3806,3,4275,582,207,-3},{1L,439,2172,-194,644,0,7781,52,232,-17},{1L,439,2172,-194,644,0,7781,52,232,-17}}};
static uint32_t g_409 = 0x44610ED4L;
static int32_t *g_415 = &g_2[0][1];
static int32_t ** volatile g_414 = &g_415;/* VOLATILE GLOBAL g_414 */
static uint16_t g_437 = 0x1CB7L;
static volatile int32_t *** volatile * volatile g_449 = (void*)0;/* VOLATILE GLOBAL g_449 */
static volatile int32_t *** volatile * volatile * volatile g_450 = &g_449;/* VOLATILE GLOBAL g_450 */
static int8_t * const g_471 = &g_257;
static int8_t * const * volatile g_470 = &g_471;/* VOLATILE GLOBAL g_470 */
static uint32_t *g_502 = &g_409;
static uint32_t **g_501[9] = {&g_502,&g_502,&g_502,&g_502,&g_502,&g_502,&g_502,&g_502,&g_502};
static uint32_t *** volatile g_500[8][4][8] = {{{&g_501[3],(void*)0,&g_501[8],&g_501[3],&g_501[1],(void*)0,&g_501[7],(void*)0},{&g_501[3],&g_501[7],&g_501[3],&g_501[7],&g_501[3],&g_501[0],&g_501[0],&g_501[5]},{&g_501[2],&g_501[3],&g_501[3],&g_501[0],&g_501[7],&g_501[1],&g_501[6],&g_501[7]},{&g_501[0],(void*)0,&g_501[3],&g_501[0],&g_501[0],&g_501[7],&g_501[0],&g_501[3]}},{{&g_501[7],&g_501[0],&g_501[3],&g_501[5],&g_501[3],&g_501[2],&g_501[7],&g_501[6]},{(void*)0,&g_501[0],&g_501[8],&g_501[0],&g_501[8],&g_501[8],&g_501[0],&g_501[8]},{(void*)0,(void*)0,&g_501[8],&g_501[8],&g_501[6],&g_501[1],&g_501[3],&g_501[0]},{&g_501[3],&g_501[8],&g_501[6],&g_501[5],&g_501[3],(void*)0,&g_501[2],&g_501[0]}},{{&g_501[8],&g_501[0],(void*)0,&g_501[8],&g_501[0],&g_501[3],(void*)0,&g_501[8]},{&g_501[0],&g_501[5],(void*)0,&g_501[0],&g_501[1],&g_501[7],&g_501[2],&g_501[6]},{&g_501[6],&g_501[0],(void*)0,&g_501[5],(void*)0,&g_501[0],&g_501[6],&g_501[3]},{&g_501[3],&g_501[3],&g_501[5],&g_501[0],&g_501[0],&g_501[3],&g_501[0],&g_501[7]}},{{&g_501[8],&g_501[8],&g_501[3],&g_501[0],&g_501[0],&g_501[0],(void*)0,&g_501[5]},{&g_501[3],(void*)0,&g_501[3],&g_501[7],(void*)0,&g_501[0],(void*)0,(void*)0},{&g_501[6],&g_501[8],&g_501[0],&g_501[3],&g_501[1],&g_501[3],&g_501[3],&g_501[1]},{&g_501[0],&g_501[2],&g_501[2],&g_501[0],&g_501[0],&g_501[0],&g_501[0],&g_501[3]}},{{&g_501[8],&g_501[8],&g_501[5],&g_501[2],&g_501[3],&g_501[8],&g_501[3],&g_501[6]},{&g_501[3],&g_501[8],&g_501[5],&g_501[0],&g_501[6],&g_501[0],&g_501[1],(void*)0},{(void*)0,&g_501[2],(void*)0,&g_501[5],&g_501[8],&g_501[3],&g_501[0],&g_501[5]},{(void*)0,&g_501[8],&g_501[0],&g_501[0],&g_501[3],&g_501[0],&g_501[0],&g_501[8]}},{{&g_501[7],(void*)0,&g_501[6],(void*)0,&g_501[0],&g_501[0],&g_501[0],&g_501[1]},{&g_501[0],&g_501[1],&g_501[8],&g_501[7],(void*)0,&g_501[5],&g_501[2],&g_501[8]},{&g_501[0],&g_501[7],&g_501[3],&g_501[5],&g_501[0],&g_501[2],&g_501[6],(void*)0},{&g_501[0],&g_501[2],&g_501[6],(void*)0,&g_501[5],&g_501[0],&g_501[0],&g_501[0]}},{{&g_501[3],&g_501[8],&g_501[0],&g_501[0],&g_501[8],&g_501[3],&g_501[6],&g_501[0]},{&g_501[7],&g_501[1],&g_501[8],&g_501[0],&g_501[0],&g_501[3],&g_501[0],&g_501[6]},{&g_501[0],(void*)0,&g_501[3],&g_501[0],&g_501[3],&g_501[5],&g_501[1],&g_501[0]},{&g_501[8],&g_501[3],(void*)0,&g_501[0],&g_501[2],(void*)0,&g_501[0],&g_501[0]}},{{&g_501[3],&g_501[7],(void*)0,(void*)0,&g_501[0],(void*)0,&g_501[0],(void*)0},{&g_501[7],&g_501[0],&g_501[7],&g_501[5],&g_501[7],(void*)0,&g_501[8],&g_501[8]},{&g_501[3],&g_501[3],&g_501[0],&g_501[7],&g_501[1],&g_501[6],&g_501[7],&g_501[5]},{&g_501[3],&g_501[0],&g_501[2],&g_501[8],&g_501[7],&g_501[8],&g_501[3],(void*)0}}};
static int32_t *** const g_509 = (void*)0;
static int32_t *** const *g_508 = &g_509;
static int32_t *** const **g_507 = &g_508;
static struct S0 * volatile g_510 = (void*)0;/* VOLATILE GLOBAL g_510 */
static const int32_t *g_521 = &g_15;
static const int32_t **g_520 = &g_521;
static const int32_t ***g_519 = &g_520;
static const int32_t ****g_518 = &g_519;
static const int32_t *****g_517[4][3][6] = {{{&g_518,&g_518,&g_518,&g_518,&g_518,(void*)0},{&g_518,&g_518,(void*)0,&g_518,&g_518,&g_518},{&g_518,&g_518,(void*)0,&g_518,&g_518,(void*)0}},{{&g_518,&g_518,&g_518,&g_518,&g_518,(void*)0},{&g_518,&g_518,(void*)0,&g_518,&g_518,&g_518},{&g_518,&g_518,(void*)0,&g_518,&g_518,(void*)0}},{{&g_518,&g_518,&g_518,&g_518,&g_518,(void*)0},{&g_518,&g_518,(void*)0,&g_518,&g_518,&g_518},{&g_518,&g_518,(void*)0,&g_518,&g_518,(void*)0}},{{&g_518,&g_518,&g_518,&g_518,&g_518,(void*)0},{&g_518,&g_518,(void*)0,&g_518,&g_518,&g_518},{&g_518,&g_518,(void*)0,&g_518,&g_518,(void*)0}}};
static volatile int32_t g_538 = 1L;/* VOLATILE GLOBAL g_538 */
static struct S1 g_572 = {-7L,418,3720,3035,11840,2,713,227,37,18};/* VOLATILE GLOBAL g_572 */
static uint64_t *g_597 = &g_152.f0;
static uint64_t **g_596[7][7][5] = {{{&g_597,&g_597,&g_597,(void*)0,&g_597},{&g_597,&g_597,&g_597,&g_597,&g_597},{&g_597,&g_597,&g_597,&g_597,&g_597},{&g_597,&g_597,&g_597,&g_597,&g_597},{&g_597,&g_597,(void*)0,&g_597,&g_597},{&g_597,&g_597,&g_597,&g_597,&g_597},{(void*)0,&g_597,&g_597,(void*)0,(void*)0}},{{&g_597,&g_597,&g_597,&g_597,&g_597},{&g_597,&g_597,&g_597,(void*)0,(void*)0},{&g_597,(void*)0,&g_597,(void*)0,&g_597},{(void*)0,(void*)0,&g_597,(void*)0,&g_597},{&g_597,&g_597,&g_597,&g_597,&g_597},{&g_597,&g_597,&g_597,&g_597,&g_597},{(void*)0,&g_597,&g_597,&g_597,&g_597}},{{(void*)0,&g_597,&g_597,&g_597,&g_597},{&g_597,&g_597,&g_597,&g_597,&g_597},{(void*)0,(void*)0,&g_597,(void*)0,&g_597},{&g_597,(void*)0,&g_597,&g_597,&g_597},{(void*)0,&g_597,&g_597,&g_597,(void*)0},{&g_597,&g_597,&g_597,(void*)0,&g_597},{(void*)0,&g_597,(void*)0,&g_597,(void*)0}},{{(void*)0,&g_597,&g_597,&g_597,&g_597},{&g_597,&g_597,&g_597,&g_597,(void*)0},{&g_597,(void*)0,&g_597,&g_597,&g_597},{(void*)0,(void*)0,&g_597,&g_597,&g_597},{&g_597,(void*)0,&g_597,&g_597,&g_597},{&g_597,(void*)0,&g_597,&g_597,&g_597},{&g_597,&g_597,&g_597,&g_597,&g_597}},{{&g_597,&g_597,(void*)0,&g_597,&g_597},{(void*)0,&g_597,&g_597,(void*)0,&g_597},{&g_597,&g_597,&g_597,&g_597,&g_597},{&g_597,&g_597,&g_597,&g_597,&g_597},{(void*)0,&g_597,&g_597,(void*)0,(void*)0},{&g_597,&g_597,&g_597,&g_597,&g_597},{&g_597,&g_597,&g_597,&g_597,(void*)0}},{{&g_597,&g_597,&g_597,&g_597,&g_597},{&g_597,&g_597,(void*)0,&g_597,&g_597},{&g_597,&g_597,&g_597,&g_597,&g_597},{&g_597,(void*)0,&g_597,(void*)0,&g_597},{&g_597,(void*)0,&g_597,(void*)0,(void*)0},{(void*)0,(void*)0,&g_597,(void*)0,&g_597},{&g_597,(void*)0,&g_597,&g_597,&g_597}},{{&g_597,&g_597,&g_597,(void*)0,&g_597},{(void*)0,&g_597,&g_597,&g_597,&g_597},{&g_597,&g_597,&g_597,&g_597,&g_597},{&g_597,(void*)0,&g_597,(void*)0,&g_597},{&g_597,&g_597,(void*)0,&g_597,&g_597},{&g_597,&g_597,&g_597,&g_597,&g_597},{&g_597,&g_597,(void*)0,&g_597,(void*)0}}};
static int64_t * const g_727 = &g_17;
static int64_t * const *g_726 = &g_727;
static struct S0 * volatile g_728 = (void*)0;/* VOLATILE GLOBAL g_728 */
static struct S0 * volatile g_729[7] = {&g_152,&g_152,&g_152,&g_152,&g_152,&g_152,&g_152};
static int32_t * volatile *g_753 = &g_81;
static int32_t * volatile ** const g_752 = &g_753;
static struct S0 g_777 = {0x47AE54B3B08BB13BLL};
static struct S0 *g_781[5] = {&g_777,&g_777,&g_777,&g_777,&g_777};
static struct S0 **g_780[1] = {&g_781[4]};
static const int32_t *g_846[3][2][9] = {{{&g_163.f0,&g_572.f0,&g_163.f0,(void*)0,(void*)0,&g_163.f0,&g_163.f0,&g_163.f0,&g_163.f0},{(void*)0,&g_572.f0,&g_2[2][1],&g_572.f0,(void*)0,&g_572.f0,(void*)0,(void*)0,&g_163.f0}},{{&g_163.f0,(void*)0,&g_163.f0,(void*)0,&g_2[2][1],&g_2[2][1],(void*)0,&g_163.f0,&g_163.f0},{(void*)0,&g_163.f0,&g_572.f0,&g_2[2][1],&g_2[2][1],&g_572.f0,&g_163.f0,(void*)0,&g_163.f0}},{{&g_572.f0,(void*)0,&g_572.f0,(void*)0,(void*)0,&g_163.f0,&g_2[2][1],&g_572.f0,&g_2[2][1]},{&g_572.f0,&g_163.f0,&g_163.f0,&g_572.f0,(void*)0,&g_2[2][1],(void*)0,&g_572.f0,&g_163.f0}}};
static const int32_t ** volatile g_845 = &g_846[0][0][5];/* VOLATILE GLOBAL g_845 */
static union U2 g_871 = {0x863D523DL};/* VOLATILE GLOBAL g_871 */
static const union U2 *g_870 = &g_871;
static struct S0 * volatile g_875 = &g_152;/* VOLATILE GLOBAL g_875 */
static volatile int64_t g_883 = 4L;/* VOLATILE GLOBAL g_883 */
static volatile int64_t * const  volatile g_882 = &g_883;/* VOLATILE GLOBAL g_882 */
static volatile union U2 g_888[8][5] = {{{18446744073709551615UL},{0xB857A7E7L},{0xCA872C99L},{0UL},{18446744073709551615UL}},{{0UL},{0xF3E1515DL},{0x2C8CB569L},{0x2C8CB569L},{0xF3E1515DL}},{{18446744073709551615UL},{0xCA872C99L},{2UL},{0x2C8CB569L},{8UL}},{{1UL},{8UL},{3UL},{0UL},{0xB857A7E7L}},{{0x4D13CF36L},{18446744073709551615UL},{18446744073709551615UL},{0xB857A7E7L},{1UL}},{{1UL},{0x4D13CF36L},{1UL},{0x4D13CF36L},{1UL}},{{18446744073709551615UL},{8UL},{1UL},{18446744073709551615UL},{0xCA872C99L}},{{0UL},{18446744073709551615UL},{18446744073709551615UL},{2UL},{18446744073709551615UL}}};
static int32_t **** const g_897 = (void*)0;
static int32_t **** const *g_896 = &g_897;
static struct S1 g_949 = {-1L,694,1318,2510,16142,2,6866,1007,145,17};/* VOLATILE GLOBAL g_949 */
static struct S1 g_1028 = {1L,6,3952,2795,14433,0,5955,314,4,-1};/* VOLATILE GLOBAL g_1028 */
static volatile union U2 g_1032[2][5][4] = {{{{0x675D3FDAL},{0x333E941BL},{0x333E941BL},{0x675D3FDAL}},{{0x333E941BL},{0x675D3FDAL},{0x74FD0F83L},{1UL}},{{0x333E941BL},{0x74FD0F83L},{0x333E941BL},{5UL}},{{0x675D3FDAL},{1UL},{5UL},{5UL}},{{0x74FD0F83L},{0x74FD0F83L},{0x836AAB9BL},{1UL}}},{{{1UL},{0x675D3FDAL},{0x836AAB9BL},{0x675D3FDAL}},{{0x74FD0F83L},{0x333E941BL},{5UL},{0x836AAB9BL}},{{0x675D3FDAL},{0x333E941BL},{0x333E941BL},{0x675D3FDAL}},{{0x333E941BL},{0x675D3FDAL},{0x74FD0F83L},{1UL}},{{0x333E941BL},{0x74FD0F83L},{0x333E941BL},{5UL}}}};
static volatile int32_t * volatile g_1051 = &g_538;/* VOLATILE GLOBAL g_1051 */
static volatile int32_t * volatile * volatile g_1052 = &g_1051;/* VOLATILE GLOBAL g_1052 */
static uint64_t ***g_1067[7] = {&g_236,&g_236,&g_236,&g_236,&g_236,&g_236,&g_236};
static const struct S1 *g_1102[2] = {&g_1028,&g_1028};
static const struct S1 **g_1101 = &g_1102[0];
static const struct S1 *** volatile g_1100[2][2][10] = {{{&g_1101,&g_1101,&g_1101,&g_1101,&g_1101,&g_1101,&g_1101,(void*)0,&g_1101,(void*)0},{&g_1101,(void*)0,&g_1101,&g_1101,&g_1101,&g_1101,&g_1101,(void*)0,&g_1101,&g_1101}},{{&g_1101,&g_1101,&g_1101,&g_1101,(void*)0,&g_1101,(void*)0,&g_1101,&g_1101,(void*)0},{&g_1101,&g_1101,(void*)0,(void*)0,&g_1101,&g_1101,&g_1101,&g_1101,&g_1101,&g_1101}}};
static struct S1 g_1168 = {0x55E2697EL,571,5429,-2812,15619,3,3470,885,94,10};/* VOLATILE GLOBAL g_1168 */
static struct S0 * const  volatile g_1171 = (void*)0;/* VOLATILE GLOBAL g_1171 */
static struct S0 * volatile g_1172[1][7][8] = {{{&g_777,&g_152,&g_777,&g_777,&g_152,&g_152,&g_777,&g_777},{(void*)0,&g_777,(void*)0,&g_152,&g_152,&g_152,&g_152,&g_152},{&g_777,&g_152,&g_152,&g_777,&g_777,(void*)0,(void*)0,&g_152},{&g_777,(void*)0,&g_777,&g_777,&g_777,&g_777,&g_777,&g_777},{&g_777,(void*)0,(void*)0,(void*)0,&g_777,(void*)0,(void*)0,(void*)0},{(void*)0,&g_152,&g_152,&g_777,(void*)0,&g_152,&g_777,&g_777},{&g_777,&g_777,&g_777,&g_152,(void*)0,&g_152,&g_777,&g_777}}};
static int32_t g_1197 = 0x8BFF6932L;
static struct S0 * volatile g_1213 = &g_152;/* VOLATILE GLOBAL g_1213 */
static int64_t g_1265[8] = {0x01B72F7BC348C7F7LL,0xC41D0384B085C812LL,0x01B72F7BC348C7F7LL,0xC41D0384B085C812LL,0x01B72F7BC348C7F7LL,0xC41D0384B085C812LL,0x01B72F7BC348C7F7LL,0xC41D0384B085C812LL};
static uint8_t g_1274 = 0xE4L;
static volatile union U2 g_1283 = {18446744073709551609UL};/* VOLATILE GLOBAL g_1283 */
static int32_t g_1358 = 0x4BF95C86L;
static uint64_t ****g_1365 = &g_1067[0];
static const union U2 ** volatile g_1421 = (void*)0;/* VOLATILE GLOBAL g_1421 */
static const union U2 ** volatile g_1422 = (void*)0;/* VOLATILE GLOBAL g_1422 */
static const union U2 ** volatile g_1423 = &g_870;/* VOLATILE GLOBAL g_1423 */
static union U2 g_1440[7] = {{0UL},{0UL},{0UL},{0UL},{0UL},{0UL},{0UL}};
static const uint64_t g_1494 = 0xE5CDE46632936D00LL;
static volatile struct S1 g_1504 = {6L,631,3580,150,15567,4,5190,586,309,18};/* VOLATILE GLOBAL g_1504 */
static int32_t g_1546[5][9][5] = {{{0x6A64AE79L,0xA2CA7319L,0x7402052BL,0x1A73B6A8L,1L},{0xC356884EL,4L,(-2L),(-1L),0x1F2E0656L},{4L,0xAFE3C44AL,0xAFE3C44AL,4L,0xBB617018L},{0xD74C2563L,2L,0x581AEAFAL,0x2A2706A2L,0xAF4DA339L},{7L,(-1L),(-9L),0L,0xE8E4FC55L},{1L,0x220D732EL,(-2L),0x2A2706A2L,0x4ED3C3F3L},{0x208A4002L,1L,0x1A73B6A8L,4L,(-9L)},{7L,0x601CEBD6L,0x4F0B5BB2L,(-1L),0x2A2706A2L},{1L,0L,0x3E7F917FL,0x1A73B6A8L,1L}},{{(-1L),0x1F2E0656L,0x601CEBD6L,0x5C12FCC0L,0x25B5442DL},{0x2754BA71L,1L,(-1L),0x379D01DDL,(-1L)},{1L,1L,0L,1L,5L},{0xAFE3C44AL,(-9L),0x3B5B05D5L,0L,0xAC846EEAL},{(-1L),0xD74C2563L,0xB3527E27L,0x220D732EL,(-1L)},{0L,(-9L),0x6AC076E8L,0xA2CA7319L,1L},{0L,1L,(-1L),0x25B5442DL,1L},{0xB8F2F45CL,1L,1L,0xAC846EEAL,0x4AA2270BL},{(-2L),0x1F2E0656L,0xBDF3F952L,0x581AEAFAL,0xC356884EL}},{{0x3B5B05D5L,0L,0L,0x76AAEA4BL,(-1L)},{0x2A2706A2L,0xB3527E27L,0x0EC141D8L,0xB3527E27L,0x2A2706A2L},{(-8L),0L,5L,(-9L),7L},{0x0EC141D8L,0xE27D3175L,2L,(-1L),0x581AEAFAL},{0L,7L,0x6AC076E8L,0L,7L},{(-1L),(-1L),0x5C12FCC0L,1L,0x2A2706A2L},{7L,1L,(-1L),5L,(-1L)},{0x4F0B5BB2L,(-1L),0x2A2706A2L,2L,1L},{0x0CA24C1DL,0L,0x2754BA71L,1L,0x3B5B05D5L}},{{7L,0x4ED3C3F3L,0L,0x1F2E0656L,0x1F2E0656L},{1L,4L,1L,0xBB617018L,(-6L)},{0x57965FCEL,0x25B5442DL,0x8A67BA6DL,0xAF4DA339L,0x4ED3C3F3L},{1L,0x208A4002L,0L,0xE8E4FC55L,0x2754BA71L},{(-1L),0xD74C2563L,0x8A67BA6DL,0x4ED3C3F3L,0x0EC141D8L},{0xBB617018L,0L,1L,(-9L),7L},{0xEEE1499DL,0x5D06B87FL,0L,0x2A2706A2L,0x4F0B5BB2L},{0x5D351A2EL,(-8L),0x2754BA71L,1L,0xBB617018L},{1L,(-1L),0x2A2706A2L,0x25B5442DL,1L}},{{0x6AC076E8L,0x62637357L,(-1L),(-1L),0x62637357L},{0x25B5442DL,0x0EC141D8L,0x5C12FCC0L,5L,0x220D732EL},{7L,1L,0x6AC076E8L,0xAC846EEAL,0x0CA24C1DL},{2L,0x5C12FCC0L,2L,(-1L),0x8A67BA6DL},{7L,0x2754BA71L,5L,1L,0xA2CA7319L},{0x25B5442DL,1L,0x0EC141D8L,1L,0x601CEBD6L},{0x6AC076E8L,(-9L),0L,0x4AA2270BL,0xE8E4FC55L},{1L,5L,0L,0xC356884EL,(-1L)},{0x5D351A2EL,0xAFE3C44AL,0L,1L,0x3E7F917FL}}};
static uint64_t *** const *g_1553 = &g_1067[4];
static uint64_t *** const * const *g_1552 = &g_1553;
static uint16_t *g_1557 = (void*)0;
static uint16_t **g_1556 = &g_1557;
static uint16_t ** volatile * volatile g_1555 = &g_1556;/* VOLATILE GLOBAL g_1555 */
static struct S1 g_1572 = {0x4A06FE5FL,573,3954,1698,13352,0,7717,283,354,3};/* VOLATILE GLOBAL g_1572 */
static int32_t *g_1596 = &g_163.f0;
static volatile int64_t g_1601[5][8] = {{0x0437EDE1ACF993B6LL,(-3L),(-3L),0x0437EDE1ACF993B6LL,(-3L),0x2AC7491C51325FA3LL,0L,4L},{1L,0x0437EDE1ACF993B6LL,0xFE0B769FD1E9E743LL,0L,0xFE0B769FD1E9E743LL,0x0437EDE1ACF993B6LL,1L,0x9FE1A1AF42834BD9LL},{0xFE0B769FD1E9E743LL,0x0437EDE1ACF993B6LL,1L,0x9FE1A1AF42834BD9LL,0x2AC7491C51325FA3LL,0x2AC7491C51325FA3LL,0x9FE1A1AF42834BD9LL,1L},{(-3L),(-3L),0x0437EDE1ACF993B6LL,(-3L),0x2AC7491C51325FA3LL,0L,4L,0L},{0xFE0B769FD1E9E743LL,1L,(-3L),1L,0xFE0B769FD1E9E743LL,0L,(-3L),0L}};
static int8_t g_1657 = (-6L);
static int8_t g_1666 = 0x7AL;
static struct S0 g_1684 = {6UL};
static int32_t **g_1692 = &g_81;
static int32_t ***g_1691 = &g_1692;
static volatile union U2 g_1722[7] = {{0x255A7225L},{0x255A7225L},{1UL},{0x255A7225L},{0x255A7225L},{1UL},{0x255A7225L}};
static int32_t ***g_1759[10] = {(void*)0,&g_140,&g_140,(void*)0,&g_140,&g_140,(void*)0,&g_140,&g_140,(void*)0};
static int32_t ****g_1758 = &g_1759[7];
static int32_t *****g_1757 = &g_1758;
static uint32_t g_1857 = 18446744073709551609UL;
static struct S1 g_1882 = {9L,261,5229,147,16024,4,5159,379,29,18};/* VOLATILE GLOBAL g_1882 */
static uint64_t *g_1883 = &g_1684.f0;
static union U2 g_1894 = {1UL};/* VOLATILE GLOBAL g_1894 */
static const uint8_t g_1912 = 0x04L;
static uint32_t g_1920 = 0UL;
static volatile struct S1 g_1935[10][8][3] = {{{{7L,59,4866,1025,15842,4,405,748,232,5},{1L,78,1612,1299,8215,0,6710,378,317,-15},{7L,102,2311,585,409,1,7051,368,41,12}},{{9L,721,2370,1348,16238,0,6672,580,261,-3},{-1L,580,3315,3616,1621,1,5635,830,85,1},{1L,389,4630,-2880,10254,2,2924,949,283,15}},{{0x539771C1L,491,1319,1368,12418,4,4448,173,338,-12},{7L,59,4866,1025,15842,4,405,748,232,5},{-1L,550,2635,2275,16365,1,7024,335,216,10}},{{1L,580,4609,244,8598,1,3603,860,110,3},{0xC5DC9C2EL,193,1833,-3824,9341,1,2627,198,189,3},{1L,547,4773,-965,758,2,4486,490,169,-5}},{{-1L,273,343,2732,15893,1,1548,275,224,-14},{0x622351B9L,540,5543,-2139,8683,3,5016,938,241,14},{-1L,550,2635,2275,16365,1,7024,335,216,10}},{{0xD8387698L,343,3603,417,1040,1,6127,481,167,2},{0L,367,3814,487,4275,3,1451,70,60,-7},{1L,389,4630,-2880,10254,2,2924,949,283,15}},{{0x2366511AL,719,3096,-3469,13117,2,824,1004,97,20},{0x8C1B9FC9L,696,5703,-1994,3912,3,5333,1022,106,12},{7L,102,2311,585,409,1,7051,368,41,12}},{{-1L,413,4175,409,13560,2,3157,620,275,-0},{3L,198,3246,2628,3496,0,6004,139,170,-4},{-1L,413,4175,409,13560,2,3157,620,275,-0}}},{{{7L,59,4866,1025,15842,4,405,748,232,5},{-1L,222,3963,-2872,4851,3,3189,381,264,7},{1L,543,2217,4081,11138,0,7497,20,269,-17}},{{1L,389,4630,-2880,10254,2,2924,949,283,15},{0L,367,3814,487,4275,3,1451,70,60,-7},{0xD8387698L,343,3603,417,1040,1,6127,481,167,2}},{{0x8B901AD3L,584,3412,-3823,1354,4,7735,73,286,-14},{0x539771C1L,491,1319,1368,12418,4,4448,173,338,-12},{0L,469,5401,-19,14611,2,972,142,150,-9}},{{1L,547,4773,-965,758,2,4486,490,169,-5},{0xC5DC9C2EL,193,1833,-3824,9341,1,2627,198,189,3},{1L,580,4609,244,8598,1,3603,860,110,3}},{{0x8B901AD3L,584,3412,-3823,1354,4,7735,73,286,-14},{7L,102,2311,585,409,1,7051,368,41,12},{0x622351B9L,540,5543,-2139,8683,3,5016,938,241,14}},{{1L,389,4630,-2880,10254,2,2924,949,283,15},{-1L,580,3315,3616,1621,1,5635,830,85,1},{9L,721,2370,1348,16238,0,6672,580,261,-3}},{{7L,59,4866,1025,15842,4,405,748,232,5},{0x81138822L,148,2582,-4000,8579,0,3925,1019,311,1},{1L,78,1612,1299,8215,0,6710,378,317,-15}},{{-1L,413,4175,409,13560,2,3157,620,275,-0},{-1L,331,5688,3898,5469,0,2166,220,73,19},{0x01607F45L,393,3467,-1649,8454,0,4675,43,349,-0}}},{{{0x2366511AL,719,3096,-3469,13117,2,824,1004,97,20},{0x97423B25L,317,545,-3571,5398,0,3864,123,195,6},{0x622351B9L,540,5543,-2139,8683,3,5016,938,241,14}},{{0xD8387698L,343,3603,417,1040,1,6127,481,167,2},{0xDA19028CL,690,3204,-995,2967,1,3587,214,355,7},{0xC64125A3L,236,4215,2105,16355,0,205,661,41,-2}},{{-1L,273,343,2732,15893,1,1548,275,224,-14},{0x6CA80831L,9,3721,349,13271,0,3485,800,90,16},{0L,469,5401,-19,14611,2,972,142,150,-9}},{{1L,580,4609,244,8598,1,3603,860,110,3},{0xDA19028CL,690,3204,-995,2967,1,3587,214,355,7},{0x91253927L,290,679,-3912,15931,3,4781,61,233,-0}},{{0x539771C1L,491,1319,1368,12418,4,4448,173,338,-12},{0x97423B25L,317,545,-3571,5398,0,3864,123,195,6},{1L,543,2217,4081,11138,0,7497,20,269,-17}},{{9L,721,2370,1348,16238,0,6672,580,261,-3},{-1L,331,5688,3898,5469,0,2166,220,73,19},{0x398C8D9AL,500,4419,3229,12283,3,5380,346,250,0}},{{0x81138822L,148,2582,-4000,8579,0,3925,1019,311,1},{0x81138822L,148,2582,-4000,8579,0,3925,1019,311,1},{7L,102,2311,585,409,1,7051,368,41,12}},{{0x01607F45L,393,3467,-1649,8454,0,4675,43,349,-0},{-1L,580,3315,3616,1621,1,5635,830,85,1},{0x0DA81C70L,269,4703,-2565,1040,4,5653,701,156,-19}}},{{{0x539771C1L,491,1319,1368,12418,4,4448,173,338,-12},{7L,102,2311,585,409,1,7051,368,41,12},{-1L,550,2635,2275,16365,1,7024,335,216,10}},{{0xC64125A3L,236,4215,2105,16355,0,205,661,41,-2},{0xC5DC9C2EL,193,1833,-3824,9341,1,2627,198,189,3},{0xC9C247D2L,27,1153,-2494,6898,2,7531,413,161,-15}},{{-1L,273,343,2732,15893,1,1548,275,224,-14},{0x539771C1L,491,1319,1368,12418,4,4448,173,338,-12},{-1L,550,2635,2275,16365,1,7024,335,216,10}},{{0x91253927L,290,679,-3912,15931,3,4781,61,233,-0},{0L,367,3814,487,4275,3,1451,70,60,-7},{0x0DA81C70L,269,4703,-2565,1040,4,5653,701,156,-19}},{{0x2366511AL,719,3096,-3469,13117,2,824,1004,97,20},{-1L,222,3963,-2872,4851,3,3189,381,264,7},{7L,102,2311,585,409,1,7051,368,41,12}},{{0x398C8D9AL,500,4419,3229,12283,3,5380,346,250,0},{3L,198,3246,2628,3496,0,6004,139,170,-4},{0x398C8D9AL,500,4419,3229,12283,3,5380,346,250,0}},{{7L,59,4866,1025,15842,4,405,748,232,5},{0x8C1B9FC9L,696,5703,-1994,3912,3,5333,1022,106,12},{1L,543,2217,4081,11138,0,7497,20,269,-17}},{{0x0DA81C70L,269,4703,-2565,1040,4,5653,701,156,-19},{0L,367,3814,487,4275,3,1451,70,60,-7},{0x91253927L,290,679,-3912,15931,3,4781,61,233,-0}}},{{{0x8B901AD3L,584,3412,-3823,1354,4,7735,73,286,-14},{0x622351B9L,540,5543,-2139,8683,3,5016,938,241,14},{0L,469,5401,-19,14611,2,972,142,150,-9}},{{0xC9C247D2L,27,1153,-2494,6898,2,7531,413,161,-15},{0xC5DC9C2EL,193,1833,-3824,9341,1,2627,198,189,3},{0xC64125A3L,236,4215,2105,16355,0,205,661,41,-2}},{{0x8B901AD3L,584,3412,-3823,1354,4,7735,73,286,-14},{7L,59,4866,1025,15842,4,405,748,232,5},{0x622351B9L,540,5543,-2139,8683,3,5016,938,241,14}},{{0x0DA81C70L,269,4703,-2565,1040,4,5653,701,156,-19},{-1L,580,3315,3616,1621,1,5635,830,85,1},{0x01607F45L,393,3467,-1649,8454,0,4675,43,349,-0}},{{7L,59,4866,1025,15842,4,405,748,232,5},{1L,78,1612,1299,8215,0,6710,378,317,-15},{1L,78,1612,1299,8215,0,6710,378,317,-15}},{{0x398C8D9AL,500,4419,3229,12283,3,5380,346,250,0},{-1L,331,5688,3898,5469,0,2166,220,73,19},{9L,721,2370,1348,16238,0,6672,580,261,-3}},{{0x2366511AL,719,3096,-3469,13117,2,824,1004,97,20},{0x8184F75FL,237,5012,2506,13911,4,7287,194,298,-17},{0x622351B9L,540,5543,-2139,8683,3,5016,938,241,14}},{{0x91253927L,290,679,-3912,15931,3,4781,61,233,-0},{0xDA19028CL,690,3204,-995,2967,1,3587,214,355,7},{1L,580,4609,244,8598,1,3603,860,110,3}}},{{{-1L,273,343,2732,15893,1,1548,275,224,-14},{2L,722,756,-3346,14165,3,1924,776,208,9},{0L,469,5401,-19,14611,2,972,142,150,-9}},{{0xC64125A3L,236,4215,2105,16355,0,205,661,41,-2},{0xDA19028CL,690,3204,-995,2967,1,3587,214,355,7},{0xD8387698L,343,3603,417,1040,1,6127,481,167,2}},{{0x539771C1L,491,1319,1368,12418,4,4448,173,338,-12},{0x8184F75FL,237,5012,2506,13911,4,7287,194,298,-17},{1L,543,2217,4081,11138,0,7497,20,269,-17}},{{0x01607F45L,393,3467,-1649,8454,0,4675,43,349,-0},{-1L,331,5688,3898,5469,0,2166,220,73,19},{-1L,413,4175,409,13560,2,3157,620,275,-0}},{{0x81138822L,148,2582,-4000,8579,0,3925,1019,311,1},{1L,78,1612,1299,8215,0,6710,378,317,-15},{7L,102,2311,585,409,1,7051,368,41,12}},{{9L,721,2370,1348,16238,0,6672,580,261,-3},{-1L,580,3315,3616,1621,1,5635,830,85,1},{1L,389,4630,-2880,10254,2,2924,949,283,15}},{{0x539771C1L,491,1319,1368,12418,4,4448,173,338,-12},{7L,59,4866,1025,15842,4,405,748,232,5},{-1L,550,2635,2275,16365,1,7024,335,216,10}},{{1L,580,4609,244,8598,1,3603,860,110,3},{0xC5DC9C2EL,193,1833,-3824,9341,1,2627,198,189,3},{1L,547,4773,-965,758,2,4486,490,169,-5}}},{{{-1L,273,343,2732,15893,1,1548,275,224,-14},{0x622351B9L,540,5543,-2139,8683,3,5016,938,241,14},{-1L,550,2635,2275,16365,1,7024,335,216,10}},{{0xD8387698L,343,3603,417,1040,1,6127,481,167,2},{0L,367,3814,487,4275,3,1451,70,60,-7},{1L,389,4630,-2880,10254,2,2924,949,283,15}},{{0x2366511AL,719,3096,-3469,13117,2,824,1004,97,20},{0x8C1B9FC9L,696,5703,-1994,3912,3,5333,1022,106,12},{7L,102,2311,585,409,1,7051,368,41,12}},{{-1L,413,4175,409,13560,2,3157,620,275,-0},{3L,198,3246,2628,3496,0,6004,139,170,-4},{-1L,413,4175,409,13560,2,3157,620,275,-0}},{{7L,59,4866,1025,15842,4,405,748,232,5},{-1L,222,3963,-2872,4851,3,3189,381,264,7},{1L,543,2217,4081,11138,0,7497,20,269,-17}},{{1L,389,4630,-2880,10254,2,2924,949,283,15},{0L,367,3814,487,4275,3,1451,70,60,-7},{0xD8387698L,343,3603,417,1040,1,6127,481,167,2}},{{0x8B901AD3L,584,3412,-3823,1354,4,7735,73,286,-14},{0x539771C1L,491,1319,1368,12418,4,4448,173,338,-12},{0L,469,5401,-19,14611,2,972,142,150,-9}},{{1L,547,4773,-965,758,2,4486,490,169,-5},{0xC5DC9C2EL,193,1833,-3824,9341,1,2627,198,189,3},{1L,580,4609,244,8598,1,3603,860,110,3}}},{{{0x8B901AD3L,584,3412,-3823,1354,4,7735,73,286,-14},{7L,102,2311,585,409,1,7051,368,41,12},{0x622351B9L,540,5543,-2139,8683,3,5016,938,241,14}},{{1L,389,4630,-2880,10254,2,2924,949,283,15},{-1L,580,3315,3616,1621,1,5635,830,85,1},{9L,721,2370,1348,16238,0,6672,580,261,-3}},{{7L,59,4866,1025,15842,4,405,748,232,5},{0x81138822L,148,2582,-4000,8579,0,3925,1019,311,1},{1L,78,1612,1299,8215,0,6710,378,317,-15}},{{-1L,413,4175,409,13560,2,3157,620,275,-0},{-1L,331,5688,3898,5469,0,2166,220,73,19},{0x01607F45L,393,3467,-1649,8454,0,4675,43,349,-0}},{{0x2366511AL,719,3096,-3469,13117,2,824,1004,97,20},{0x97423B25L,317,545,-3571,5398,0,3864,123,195,6},{0x622351B9L,540,5543,-2139,8683,3,5016,938,241,14}},{{0xD8387698L,343,3603,417,1040,1,6127,481,167,2},{0xDA19028CL,690,3204,-995,2967,1,3587,214,355,7},{0xC64125A3L,236,4215,2105,16355,0,205,661,41,-2}},{{-1L,273,343,2732,15893,1,1548,275,224,-14},{0x6CA80831L,9,3721,349,13271,0,3485,800,90,16},{0L,469,5401,-19,14611,2,972,142,150,-9}},{{1L,580,4609,244,8598,1,3603,860,110,3},{0xDA19028CL,690,3204,-995,2967,1,3587,214,355,7},{0x91253927L,290,679,-3912,15931,3,4781,61,233,-0}}},{{{0x6CA80831L,9,3721,349,13271,0,3485,800,90,16},{-1L,550,2635,2275,16365,1,7024,335,216,10},{0L,469,5401,-19,14611,2,972,142,150,-9}},{{0xD8387698L,343,3603,417,1040,1,6127,481,167,2},{3L,198,3246,2628,3496,0,6004,139,170,-4},{0x63375605L,449,1745,3852,13855,0,4800,396,293,-9}},{{0x6856CF56L,4,3317,-3270,12996,0,2864,370,199,-14},{0x6856CF56L,4,3317,-3270,12996,0,2864,370,199,-14},{1L,78,1612,1299,8215,0,6710,378,317,-15}},{{0x91253927L,290,679,-3912,15931,3,4781,61,233,-0},{0xC5DC9C2EL,193,1833,-3824,9341,1,2627,198,189,3},{0xA0F1C508L,502,2034,-541,11757,1,6808,588,34,15}},{{0x6CA80831L,9,3721,349,13271,0,3485,800,90,16},{1L,78,1612,1299,8215,0,6710,378,317,-15},{1L,543,2217,4081,11138,0,7497,20,269,-17}},{{0xC9C247D2L,27,1153,-2494,6898,2,7531,413,161,-15},{8L,578,3617,-3053,13803,3,4663,244,316,-16},{0xC9512B02L,621,1460,1016,5660,0,1678,68,360,9}},{{0x8C1B9FC9L,696,5703,-1994,3912,3,5333,1022,106,12},{0x6CA80831L,9,3721,349,13271,0,3485,800,90,16},{1L,543,2217,4081,11138,0,7497,20,269,-17}},{{-1L,413,4175,409,13560,2,3157,620,275,-0},{0xA861529CL,577,4311,2914,13314,1,2512,270,130,14},{0xA0F1C508L,502,2034,-541,11757,1,6808,588,34,15}}},{{{-1L,273,343,2732,15893,1,1548,275,224,-14},{7L,102,2311,585,409,1,7051,368,41,12},{1L,78,1612,1299,8215,0,6710,378,317,-15}},{{0x63375605L,449,1745,3852,13855,0,4800,396,293,-9},{0x0EE5ECADL,159,5442,2725,8709,0,4462,502,33,-1},{0x63375605L,449,1745,3852,13855,0,4800,396,293,-9}},{{0x81138822L,148,2582,-4000,8579,0,3925,1019,311,1},{7L,59,4866,1025,15842,4,405,748,232,5},{0L,469,5401,-19,14611,2,972,142,150,-9}},{{0xA0F1C508L,502,2034,-541,11757,1,6808,588,34,15},{0xA861529CL,577,4311,2914,13314,1,2512,270,130,14},{-1L,413,4175,409,13560,2,3157,620,275,-0}},{{0x2366511AL,719,3096,-3469,13117,2,824,1004,97,20},{2L,722,756,-3346,14165,3,1924,776,208,9},{-1L,222,3963,-2872,4851,3,3189,381,264,7}},{{0xC9512B02L,621,1460,1016,5660,0,1678,68,360,9},{8L,578,3617,-3053,13803,3,4663,244,316,-16},{0xC9C247D2L,27,1153,-2494,6898,2,7531,413,161,-15}},{{0x2366511AL,719,3096,-3469,13117,2,824,1004,97,20},{0x81138822L,148,2582,-4000,8579,0,3925,1019,311,1},{2L,722,756,-3346,14165,3,1924,776,208,9}},{{0xA0F1C508L,502,2034,-541,11757,1,6808,588,34,15},{0xC5DC9C2EL,193,1833,-3824,9341,1,2627,198,189,3},{0x91253927L,290,679,-3912,15931,3,4781,61,233,-0}}}};
static struct S1 g_1970 = {0xBCFDADAAL,529,1181,-3035,7752,0,3795,790,213,-12};/* VOLATILE GLOBAL g_1970 */
static volatile struct S1 g_1980 = {5L,626,4049,-2502,4096,1,2456,225,83,6};/* VOLATILE GLOBAL g_1980 */
static volatile uint8_t g_2022[9] = {0UL,246UL,0UL,0UL,246UL,0UL,0UL,246UL,0UL};
static union U2 g_2044 = {0xDB085ED6L};/* VOLATILE GLOBAL g_2044 */
static int32_t g_2057 = 0L;
static int64_t g_2108 = (-4L);
static uint8_t *g_2174 = (void*)0;
static uint8_t * const *g_2173 = &g_2174;
static uint8_t * const **g_2172 = &g_2173;
static int64_t *g_2233 = &g_2108;
static int64_t ** volatile g_2232 = &g_2233;/* VOLATILE GLOBAL g_2232 */
static int64_t ** volatile *g_2231 = &g_2232;
static int64_t ** volatile ** volatile g_2230[6] = {(void*)0,(void*)0,(void*)0,(void*)0,(void*)0,(void*)0};
static struct S1 g_2244 = {0x52624A31L,561,5185,-3581,4620,2,3502,261,22,17};/* VOLATILE GLOBAL g_2244 */
static volatile union U2 g_2264 = {2UL};/* VOLATILE GLOBAL g_2264 */
static union U2 g_2304 = {0xB7B50C5AL};/* VOLATILE GLOBAL g_2304 */
static int16_t *g_2403[10] = {&g_86,&g_86,&g_86,&g_86,&g_86,&g_86,&g_86,&g_86,&g_86,&g_86};
static int16_t * const * volatile g_2402 = &g_2403[6];/* VOLATILE GLOBAL g_2402 */
static int16_t **g_2404 = &g_2403[6];
static const struct S0 g_2412 = {0xBDB1B2CE891D3509LL};
static volatile struct S1 ** volatile **g_2414 = (void*)0;
static int16_t *** volatile g_2415 = (void*)0;/* VOLATILE GLOBAL g_2415 */
static const union U2 g_2418[3][5] = {{{0x78D2849BL},{8UL},{0xC53CAD7BL},{0xC53CAD7BL},{8UL}},{{0x78D2849BL},{8UL},{0xC53CAD7BL},{0xC53CAD7BL},{8UL}},{{0x78D2849BL},{8UL},{0xC53CAD7BL},{0xC53CAD7BL},{8UL}}};
static volatile uint32_t *** volatile *g_2433 = (void*)0;
static const union U2 g_2511 = {0x3AB891ADL};/* VOLATILE GLOBAL g_2511 */
static const union U2 g_2521 = {6UL};/* VOLATILE GLOBAL g_2521 */
static volatile uint16_t g_2593[7] = {1UL,1UL,1UL,1UL,1UL,1UL,1UL};
static int8_t g_2598 = 0x4CL;
static union U2 g_2610 = {1UL};/* VOLATILE GLOBAL g_2610 */
static int32_t *g_2676 = &g_163.f0;
static int32_t ** const g_2675 = &g_2676;
static int32_t ** const * const g_2674[7][8] = {{&g_2675,&g_2675,&g_2675,&g_2675,&g_2675,&g_2675,&g_2675,&g_2675},{&g_2675,&g_2675,&g_2675,&g_2675,&g_2675,&g_2675,&g_2675,&g_2675},{&g_2675,&g_2675,&g_2675,&g_2675,&g_2675,&g_2675,&g_2675,&g_2675},{&g_2675,&g_2675,&g_2675,&g_2675,&g_2675,&g_2675,&g_2675,&g_2675},{&g_2675,&g_2675,&g_2675,&g_2675,&g_2675,&g_2675,&g_2675,&g_2675},{&g_2675,&g_2675,&g_2675,&g_2675,&g_2675,&g_2675,&g_2675,&g_2675},{&g_2675,&g_2675,&g_2675,&g_2675,&g_2675,&g_2675,&g_2675,&g_2675}};
static int32_t ** const * const *g_2673 = &g_2674[1][4];
static volatile struct S1 g_2707[7] = {{0x008E87C3L,555,4967,806,2821,2,2270,543,134,20},{0x008E87C3L,555,4967,806,2821,2,2270,543,134,20},{0x797C9B66L,484,977,-243,4885,3,722,765,348,-21},{0x008E87C3L,555,4967,806,2821,2,2270,543,134,20},{0x008E87C3L,555,4967,806,2821,2,2270,543,134,20},{0x797C9B66L,484,977,-243,4885,3,722,765,348,-21},{0x008E87C3L,555,4967,806,2821,2,2270,543,134,20}};
static uint32_t *** volatile *g_2718[7][5] = {{&g_500[6][0][6],&g_500[6][0][6],&g_500[6][0][6],&g_500[6][0][6],(void*)0},{&g_500[1][3][0],&g_500[2][1][1],(void*)0,&g_500[2][1][1],&g_500[1][3][0]},{&g_500[6][0][6],&g_500[2][1][1],&g_500[6][0][6],&g_500[1][3][0],&g_500[6][0][6]},{&g_500[6][0][6],&g_500[6][0][6],(void*)0,&g_500[1][3][0],&g_500[5][2][1]},{&g_500[2][1][1],&g_500[6][0][6],&g_500[6][0][6],&g_500[2][1][1],&g_500[6][0][6]},{&g_500[2][1][1],&g_500[1][3][0],&g_500[6][0][6],&g_500[6][0][6],&g_500[1][3][0]},{&g_500[6][0][6],&g_500[6][0][6],(void*)0,&g_500[6][0][6],&g_500[6][0][6]}};
static uint32_t *** volatile ** const  volatile g_2717[7][5] = {{&g_2718[4][3],&g_2718[4][3],&g_2718[4][3],&g_2718[4][3],&g_2718[4][3]},{&g_2718[3][4],&g_2718[3][4],&g_2718[3][4],&g_2718[3][4],&g_2718[3][4]},{&g_2718[4][3],&g_2718[4][3],&g_2718[4][3],&g_2718[4][3],&g_2718[4][3]},{&g_2718[3][4],&g_2718[3][4],&g_2718[3][4],&g_2718[3][4],&g_2718[3][4]},{&g_2718[4][3],&g_2718[4][3],&g_2718[4][3],&g_2718[4][3],&g_2718[4][3]},{&g_2718[3][4],&g_2718[3][4],&g_2718[3][4],&g_2718[3][4],&g_2718[3][4]},{&g_2718[4][3],&g_2718[4][3],&g_2718[4][3],&g_2718[4][3],&g_2718[4][3]}};
static uint32_t *** volatile ** volatile g_2719 = (void*)0;/* VOLATILE GLOBAL g_2719 */
static int64_t **g_2723 = (void*)0;
static int64_t ***g_2722 = &g_2723;
static struct S1 g_2742 = {2L,560,691,1579,8234,0,4004,366,147,-6};/* VOLATILE GLOBAL g_2742 */
static uint16_t ***g_2745 = &g_1556;
static const union U2 g_2758 = {1UL};/* VOLATILE GLOBAL g_2758 */
static const union U2 g_2833 = {0x83DFAA75L};/* VOLATILE GLOBAL g_2833 */
static uint16_t ****g_2841 = &g_2745;
static uint16_t *****g_2840 = &g_2841;
static const union U2 g_2842 = {18446744073709551607UL};/* VOLATILE GLOBAL g_2842 */
static volatile int32_t * volatile g_2843[10] = {(void*)0,(void*)0,(void*)0,(void*)0,(void*)0,(void*)0,(void*)0,(void*)0,(void*)0,(void*)0};
static struct S1 g_2853 = {0x56BBE587L,29,1497,3801,1926,4,1756,734,69,-1};/* VOLATILE GLOBAL g_2853 */


/* --- FORWARD DECLARATIONS --- */
static struct S1  func_1(void);
static const union U2  func_9(int64_t  p_10);
static int32_t  func_30(int32_t * p_31, int32_t * p_32);
static int32_t * func_33(uint8_t  p_34, struct S0  p_35, uint32_t  p_36, uint16_t  p_37);
static uint32_t  func_39(int32_t * p_40, int32_t * p_41);
static int32_t  func_42(struct S0  p_43, uint8_t  p_44, int32_t * p_45);
static int64_t  func_54(int8_t  p_55, uint64_t  p_56, struct S0  p_57, uint32_t  p_58);
static struct S0  func_61(uint32_t  p_62, const int16_t  p_63, uint64_t  p_64, int32_t * p_65, int32_t  p_66);
static int16_t  func_67(int32_t  p_68, uint16_t * p_69, int16_t  p_70, const int32_t * p_71, struct S0  p_72);
static uint16_t * func_74(const uint64_t  p_75, int32_t * p_76);


/* --- FUNCTIONS --- */
/* ------------------------------------------ */
/* 
 * reads : g_2 g_2231 g_2232 g_2233 g_2108 g_29 g_50 g_15 g_21 g_22 g_81 g_88 g_95 g_17 g_86 g_82 g_79 g_124 g_136 g_143 g_152.f0 g_163 g_166 g_165 g_235 g_257 g_218 g_152 g_216 g_312 g_358 g_393 g_414 g_29.f0 g_449 g_450 g_409 g_470 g_471 g_572.f4 g_510 g_437 g_502 g_572.f0 g_597 g_752 g_777 g_727 g_780 g_520 g_519 g_845 g_521 g_875 g_518 g_508 g_509 g_882 g_888 g_572.f5 g_167 g_883 g_949.f6 g_949.f4 g_1028 g_1032 g_949.f3 g_1051 g_1052 g_136.f0 g_501 g_726 g_1168 g_538 g_1197 g_1213 g_949.f0 g_1265 g_1274 g_1283 g_1358 g_1423 g_1440 g_1365 g_1504 g_572.f6 g_1546 g_1555 g_1572 g_1101 g_870 g_871.f3 g_1601 g_1657 g_1666 g_1684 g_2418 g_2433 g_2404 g_2403 g_2402 g_1722 g_2511 g_2521 g_2304 g_1857 g_1894.f1 g_2593 g_2598 g_1596 g_1757 g_2707 g_2675 g_2676 g_1883 g_871 g_2742 g_2758 g_2833 g_2842 g_2853
 * writes: g_2 g_50 g_21 g_79 g_17 g_88 g_82 g_86 g_22 g_124 g_140 g_143 g_152.f0 g_165 g_167 g_216 g_218 g_236 g_257 g_152 g_163.f0 g_163.f4 g_141 g_415 g_437 g_449 g_81 g_501 g_507 g_517 g_510 g_409 g_596 g_726 g_780 g_521 g_846 g_870 g_896 g_1051 g_1067 g_871.f3 g_1028.f0 g_871.f1 g_538 g_1197 g_1265 g_1274 g_871.f0 g_1365 g_777.f0 g_1358 g_500 g_777 g_1552 g_781 g_1596 g_1102 g_949.f0 g_2404 g_2044.f1 g_2108 g_358.f0 g_2244.f0 g_1684.f0 g_1894.f1 g_1857 g_1546 g_1758 g_2673 g_2722 g_2304.f1 g_1970.f0 g_2745 g_2676 g_2840
 */
static struct S1  func_1(void)
{ /* block id: 0 */
    struct S0 l_2844[3] = {{0x5C63B1BA3982F4DDLL},{0x5C63B1BA3982F4DDLL},{0x5C63B1BA3982F4DDLL}};
    struct S0 *l_2850 = (void*)0;
    struct S0 *l_2851[5][5] = {{&g_777,&g_777,&g_1684,&g_777,&g_777},{(void*)0,&g_777,(void*)0,(void*)0,&g_777},{&g_777,(void*)0,(void*)0,&g_777,(void*)0},{&g_777,&g_777,&g_1684,&g_777,&g_777},{(void*)0,&g_777,(void*)0,(void*)0,&g_777}};
    struct S0 l_2852 = {0x316F55BC3A5473F3LL};
    int i, j;
    for (g_2[2][1] = (-15); (g_2[2][1] >= 18); g_2[2][1]++)
    { /* block id: 3 */
        struct S0 l_2845[2] = {{0xAC0714BC75C9758DLL},{0xAC0714BC75C9758DLL}};
        int8_t l_2849 = 0L;
        int i;
    }
    l_2852 = (func_9((***g_2231)) , ((*g_875) = l_2844[0]));
    return g_2853;
}


/* ------------------------------------------ */
/* 
 * reads : g_29 g_50 g_15 g_21 g_22 g_81 g_17 g_88 g_95 g_86 g_82 g_79 g_2 g_124 g_136 g_143 g_152.f0 g_163 g_166 g_165 g_235 g_257 g_218 g_152 g_216 g_312 g_358 g_393 g_414 g_29.f0 g_449 g_450 g_409 g_470 g_471 g_572.f4 g_510 g_437 g_502 g_572.f0 g_597 g_752 g_777 g_727 g_780 g_520 g_519 g_845 g_521 g_875 g_518 g_508 g_509 g_882 g_888 g_572.f5 g_167 g_883 g_949.f6 g_949.f4 g_1028 g_1032 g_949.f3 g_1051 g_1052 g_136.f0 g_501 g_726 g_1168 g_538 g_1197 g_1213 g_949.f0 g_1265 g_1274 g_1283 g_1358 g_1423 g_1440 g_1365 g_1504 g_572.f6 g_1546 g_1555 g_1572 g_1101 g_870 g_871.f3 g_1601 g_1657 g_1666 g_1684 g_2418 g_2231 g_2232 g_2233 g_2108 g_2433 g_2404 g_2403 g_2402 g_1722 g_2511 g_2521 g_2304 g_1857 g_1894.f1 g_2593 g_2598 g_1596 g_1757 g_2707 g_2675 g_2676 g_1883 g_871 g_2304.f1 g_2742 g_2758 g_2833 g_2842
 * writes: g_50 g_21 g_79 g_17 g_88 g_82 g_86 g_22 g_124 g_140 g_143 g_152.f0 g_165 g_167 g_216 g_218 g_236 g_257 g_152 g_163.f0 g_163.f4 g_141 g_415 g_437 g_449 g_81 g_501 g_507 g_517 g_510 g_409 g_596 g_726 g_780 g_521 g_846 g_870 g_896 g_1051 g_1067 g_871.f3 g_1028.f0 g_871.f1 g_538 g_1197 g_1265 g_1274 g_871.f0 g_1365 g_777.f0 g_1358 g_500 g_777 g_1552 g_781 g_1596 g_1102 g_949.f0 g_2404 g_2044.f1 g_2108 g_358.f0 g_2244.f0 g_1684.f0 g_1894.f1 g_1857 g_1546 g_1758 g_2673 g_2722 g_2304.f1 g_1970.f0 g_2745 g_2676 g_2840
 */
static const union U2  func_9(int64_t  p_10)
{ /* block id: 4 */
    uint32_t l_11[6] = {0xE764939EL,0xE764939EL,0xE764939EL,0xE764939EL,0xE764939EL,0xE764939EL};
    int32_t l_16 = (-8L);
    int32_t l_19 = 0x2A05008DL;
    int32_t l_25[7][1][9] = {{{0xCAA7A755L,0xEA342190L,0x2523F84EL,0xEA342190L,0xCAA7A755L,0xC81E2E8CL,0xEA342190L,(-4L),(-1L)}},{{0xEA342190L,0x70E9AFB8L,0x2523F84EL,(-4L),0x70E9AFB8L,(-1L),0x70E9AFB8L,(-4L),0x2523F84EL}},{{0xCAA7A755L,0xCAA7A755L,(-1L),(-4L),0xEA342190L,0xC81E2E8CL,0xCAA7A755L,0xEA342190L,0x2523F84EL}},{{2L,0x70E9AFB8L,5L,0xEA342190L,0xEA342190L,5L,0x70E9AFB8L,2L,(-1L)}},{{2L,0xEA342190L,(-1L),2L,0x70E9AFB8L,5L,0xEA342190L,0xEA342190L,5L}},{{0xCAA7A755L,0xEA342190L,0x2523F84EL,0xEA342190L,0xCAA7A755L,0xC81E2E8CL,0xEA342190L,(-4L),(-1L)}},{{0xEA342190L,0x70E9AFB8L,0x2523F84EL,(-4L),0x70E9AFB8L,(-1L),0x70E9AFB8L,(-4L),0x2523F84EL}}};
    struct S0 l_46[4][2][4] = {{{{5UL},{0x453ACC8D4E572A96LL},{5UL},{0x453ACC8D4E572A96LL}},{{5UL},{0x453ACC8D4E572A96LL},{5UL},{0x453ACC8D4E572A96LL}}},{{{5UL},{0x453ACC8D4E572A96LL},{5UL},{0x453ACC8D4E572A96LL}},{{5UL},{0x453ACC8D4E572A96LL},{5UL},{0x453ACC8D4E572A96LL}}},{{{5UL},{0x453ACC8D4E572A96LL},{5UL},{0x453ACC8D4E572A96LL}},{{5UL},{0x453ACC8D4E572A96LL},{5UL},{0x453ACC8D4E572A96LL}}},{{{5UL},{0x453ACC8D4E572A96LL},{5UL},{0x453ACC8D4E572A96LL}},{{5UL},{0x453ACC8D4E572A96LL},{5UL},{0x453ACC8D4E572A96LL}}}};
    uint16_t *l_49[9];
    int64_t l_60 = 5L;
    int32_t *l_73 = &g_21[8][0];
    uint64_t *l_78 = &g_79;
    uint32_t *l_80 = &l_11[5];
    struct S0 *l_1269 = &g_152;
    uint8_t *l_1273[10][1] = {{(void*)0},{&g_1274},{&g_1274},{(void*)0},{&g_1274},{&g_1274},{(void*)0},{&g_1274},{&g_1274},{(void*)0}};
    uint64_t l_2423[1][6][10] = {{{1UL,0x029D75CD16D096E8LL,18446744073709551608UL,18446744073709551608UL,0xDED7C7988611E914LL,0xA87B755BC7DE7D91LL,1UL,0xA87B755BC7DE7D91LL,0xDED7C7988611E914LL,18446744073709551608UL},{0x029D75CD16D096E8LL,8UL,0x029D75CD16D096E8LL,18446744073709551608UL,1UL,1UL,18446744073709551608UL,0x029D75CD16D096E8LL,8UL,0x029D75CD16D096E8LL},{0x029D75CD16D096E8LL,0xA87B755BC7DE7D91LL,8UL,0xDED7C7988611E914LL,8UL,0xA87B755BC7DE7D91LL,0x029D75CD16D096E8LL,0x029D75CD16D096E8LL,0xA87B755BC7DE7D91LL,8UL},{0xA87B755BC7DE7D91LL,0x029D75CD16D096E8LL,0x029D75CD16D096E8LL,0xA87B755BC7DE7D91LL,8UL,0xDED7C7988611E914LL,8UL,0xA87B755BC7DE7D91LL,0x029D75CD16D096E8LL,0x029D75CD16D096E8LL},{8UL,0x029D75CD16D096E8LL,18446744073709551608UL,1UL,1UL,18446744073709551608UL,0x029D75CD16D096E8LL,8UL,0x029D75CD16D096E8LL,18446744073709551608UL},{0xDED7C7988611E914LL,0xA87B755BC7DE7D91LL,1UL,0xA87B755BC7DE7D91LL,0xDED7C7988611E914LL,18446744073709551608UL,18446744073709551608UL,0xDED7C7988611E914LL,0xA87B755BC7DE7D91LL,1UL}}};
    volatile int32_t * volatile l_2522 = (void*)0;/* VOLATILE GLOBAL l_2522 */
    uint32_t l_2524 = 1UL;
    int32_t *l_2530 = &l_16;
    int32_t l_2582 = 0xE52DC74BL;
    int64_t **l_2617 = (void*)0;
    int64_t ***l_2616 = &l_2617;
    int64_t ****l_2615 = &l_2616;
    uint32_t l_2681[10] = {0UL,0UL,0x737FA8AEL,0UL,0UL,0x737FA8AEL,0UL,0UL,0x737FA8AEL,0UL};
    int64_t l_2688[8][2] = {{0L,7L},{0L,0L},{7L,0L},{0L,7L},{0L,0L},{7L,0L},{0L,7L},{0L,0L}};
    uint32_t *** volatile *l_2720 = &g_500[4][0][2];
    int64_t ****l_2725 = &g_2722;
    uint16_t ****l_2839 = &g_2745;
    uint16_t *****l_2838 = &l_2839;
    int i, j, k;
    for (i = 0; i < 9; i++)
        l_49[i] = (void*)0;
    if (l_11[5])
    { /* block id: 5 */
        int64_t l_18 = 0x085BB31CF6A1241ALL;
        int32_t l_20 = 0x88CE324EL;
        int32_t l_23 = (-10L);
        int32_t l_24[10][8][3] = {{{0x10D52C88L,0x5443C7F3L,0x5CB58B1CL},{0L,0x766E9B1CL,0x9BF4A3CAL},{(-1L),0xBAD97097L,0x438F8743L},{(-6L),0xAF8A8FF0L,1L},{(-1L),(-1L),0x64E38B13L},{(-2L),9L,0x4ACF2726L},{0x8167BA9AL,1L,0x766E9B1CL},{0x7FD5D1AFL,1L,8L}},{{0L,0x8167BA9AL,0x766E9B1CL},{1L,0x0871E8EEL,0x4ACF2726L},{0xAF8A8FF0L,(-5L),0x64E38B13L},{0x766E9B1CL,0L,1L},{0x5B90C327L,0x221365D5L,0x438F8743L},{0xE2550182L,0x5B90C327L,0x9BF4A3CAL},{1L,0x0702DD06L,0x5CB58B1CL},{0x4B1A25D0L,0x4ACF2726L,1L}},{{0x4B1A25D0L,0x9BF4A3CAL,0xE2550182L},{1L,1L,0x7FD5D1AFL},{0xE2550182L,3L,0x50324061L},{0x5B90C327L,0L,0L},{0x766E9B1CL,(-6L),0x4B1A25D0L},{0xAF8A8FF0L,(-7L),1L},{1L,0xFAD241D8L,0L},{0L,0xE2550182L,0x0702DD06L}},{{0x7FD5D1AFL,0xFAD241D8L,0xC924DFB4L},{0x8167BA9AL,(-7L),0x0871E8EEL},{(-2L),(-6L),(-7L)},{(-1L),0L,0x8167BA9AL},{(-6L),3L,0xFA629A01L},{(-1L),1L,0x221365D5L},{0L,0x9BF4A3CAL,3L},{0x10D52C88L,0x4ACF2726L,3L}},{{0xFA629A01L,0x0702DD06L,0x221365D5L},{0xBAD97097L,0x5B90C327L,0xFA629A01L},{1L,0x221365D5L,0x8167BA9AL},{(-7L),0L,(-6L)},{0x9BF4A3CAL,0L,0x7FD5D1AFL},{0L,0x7FD5D1AFL,0xFA629A01L},{0x4B1A25D0L,0xFAD241D8L,(-7L)},{0x50324061L,(-1L),0x766E9B1CL}},{{0x4B1A25D0L,0xBAD97097L,(-1L)},{0L,0x5B90C327L,0L},{0x9BF4A3CAL,1L,0x221365D5L},{(-6L),(-1L),(-7L)},{0xBAD97097L,1L,1L},{1L,3L,(-1L)},{9L,(-5L),0x4B1A25D0L},{(-2L),(-5L),(-1L)}},{{0x221365D5L,3L,8L},{0x10D52C88L,1L,0x9BF4A3CAL},{0xC924DFB4L,(-1L),0x50324061L},{1L,1L,(-3L)},{1L,0x5B90C327L,(-5L)},{0xFAD241D8L,0xBAD97097L,3L},{1L,(-1L),0xAF8A8FF0L},{0x766E9B1CL,0xFAD241D8L,3L}},{{0xE2550182L,0x7FD5D1AFL,(-5L)},{(-1L),0L,(-3L)},{3L,0x766E9B1CL,0x50324061L},{0x4ACF2726L,0x438F8743L,0x9BF4A3CAL},{(-1L),0x4ACF2726L,8L},{1L,(-7L),(-1L)},{0L,(-5L),0x4B1A25D0L},{0L,8L,(-1L)}},{{1L,0xE2550182L,1L},{(-1L),1L,(-7L)},{0x4ACF2726L,0x221365D5L,0x221365D5L},{3L,0xC924DFB4L,0L},{(-1L),0x5CB58B1CL,(-1L)},{0xE2550182L,0x5443C7F3L,0x766E9B1CL},{0x766E9B1CL,(-1L),(-7L)},{1L,0x5443C7F3L,0xFA629A01L}},{{0xFAD241D8L,0x5CB58B1CL,0x7FD5D1AFL},{1L,0xC924DFB4L,(-6L)},{1L,0x221365D5L,0xFAD241D8L},{0xC924DFB4L,1L,9L},{0x10D52C88L,0xE2550182L,0x438F8743L},{0x221365D5L,8L,1L},{(-2L),(-5L),1L},{9L,(-7L),0x438F8743L}}};
        uint8_t l_26 = 0xA6L;
        int i, j, k;
        for (p_10 = 0; (p_10 > 11); p_10++)
        { /* block id: 8 */
            int32_t *l_14[8] = {(void*)0,(void*)0,(void*)0,(void*)0,(void*)0,(void*)0,(void*)0,(void*)0};
            int i;
            ++l_26;
        }
        if (p_10)
            goto lbl_2527;
    }
    else
    { /* block id: 11 */
        return g_29;
    }
lbl_2527:
    if (func_30(func_33(((((~func_39((((l_25[5][0][4] = func_42(l_46[1][1][1], (g_1274 |= ((0xF6L > ((safe_div_func_uint16_t_u_u((++g_50), 0x3BCAL)) & (+func_54((+g_15), l_60, ((*l_1269) = func_61(l_25[4][0][3], func_67(((*l_73) &= p_10), (g_15 , func_74(((((*l_80) = ((((*l_78) = (!(((l_46[1][1][1].f0 != p_10) ^ l_60) && g_22))) & p_10) ^ 0x066BL)) < (-5L)) ^ 0x65L), g_81)), g_2[3][2], &g_2[1][0], l_46[1][1][1]), g_2[7][1], &g_15, p_10)), l_60)))) >= l_46[1][1][1].f0)), &l_25[2][0][8])) , p_10) , (void*)0), &l_16)) != p_10) & 0xC2E65726L) <= p_10), g_1684, g_1572.f6, p_10), &l_19))
    { /* block id: 1126 */
        return g_2418[0][0];
    }
    else
    { /* block id: 1128 */
        uint32_t l_2422 = 6UL;
        uint16_t *l_2432[4];
        int32_t l_2434 = (-1L);
        int32_t l_2435[6][2];
        uint64_t l_2456 = 0UL;
        struct S0 l_2479[1][8][6] = {{{{0xD750C721C440735ALL},{9UL},{0xD750C721C440735ALL},{9UL},{0xD750C721C440735ALL},{9UL}},{{0xACA08FAB05C6BA5BLL},{9UL},{0xACA08FAB05C6BA5BLL},{9UL},{0xACA08FAB05C6BA5BLL},{9UL}},{{0xD750C721C440735ALL},{9UL},{0xD750C721C440735ALL},{9UL},{0xD750C721C440735ALL},{9UL}},{{0xACA08FAB05C6BA5BLL},{9UL},{0xACA08FAB05C6BA5BLL},{9UL},{0xACA08FAB05C6BA5BLL},{9UL}},{{0xD750C721C440735ALL},{9UL},{0xD750C721C440735ALL},{9UL},{0xD750C721C440735ALL},{9UL}},{{0xACA08FAB05C6BA5BLL},{9UL},{0xACA08FAB05C6BA5BLL},{9UL},{0xACA08FAB05C6BA5BLL},{9UL}},{{0xD750C721C440735ALL},{9UL},{0xD750C721C440735ALL},{9UL},{0xD750C721C440735ALL},{9UL}},{{0xACA08FAB05C6BA5BLL},{9UL},{0xACA08FAB05C6BA5BLL},{9UL},{0xACA08FAB05C6BA5BLL},{9UL}}}};
        uint32_t **l_2519 = &l_80;
        int32_t *l_2523[3];
        int i, j, k;
        for (i = 0; i < 4; i++)
            l_2432[i] = &g_143;
        for (i = 0; i < 6; i++)
        {
            for (j = 0; j < 2; j++)
                l_2435[i][j] = 0xDDE78BE4L;
        }
        for (i = 0; i < 3; i++)
            l_2523[i] = &l_25[4][0][3];
        for (g_1358 = 0; (g_1358 >= 11); g_1358 = safe_add_func_int8_t_s_s(g_1358, 2))
        { /* block id: 1131 */
            int32_t l_2421 = 0x73DC0F22L;
            struct S0 l_2478 = {0xA283E677521C8DD2LL};
            uint64_t ***l_2489 = &g_596[1][2][2];
            uint32_t * const *l_2518 = &g_502;
            uint64_t l_2520 = 0x7A7EACA2C57DBD65LL;
            l_2421 = (((l_2423[0][3][7] = (l_2422 = l_2421)) || 0L) >= (safe_add_func_int16_t_s_s(((**g_2404) &= ((0x9CL && ((((*g_471) = (safe_sub_func_uint64_t_u_u(l_2421, (***g_2231)))) <= (safe_add_func_uint16_t_u_u((((p_10 = ((l_16 = ((l_2432[2] != l_49[2]) == ((0x043797CEL | (g_2433 != (void*)0)) >= 0xFDL))) <= l_2421)) ^ l_2434) != l_2421), l_2434))) > l_2435[3][1])) != l_2421)), l_2421)));
            for (g_22 = 0; (g_22 < (-17)); g_22 = safe_sub_func_uint32_t_u_u(g_22, 7))
            { /* block id: 1141 */
                uint64_t l_2477[5][10] = {{0UL,0UL,0UL,18446744073709551610UL,0xC7AB91DB81921F77LL,0x57FA2CD58985D117LL,6UL,0UL,0UL,6UL},{0x55DFAFFE4F2B79D3LL,18446744073709551610UL,2UL,2UL,18446744073709551610UL,0x55DFAFFE4F2B79D3LL,0UL,1UL,0x57FA2CD58985D117LL,2UL},{4UL,0x51120CEF36128561LL,0x121F997343D702D7LL,18446744073709551615UL,6UL,0UL,18446744073709551615UL,4UL,18446744073709551615UL,4UL},{4UL,0x55DFAFFE4F2B79D3LL,0UL,18446744073709551610UL,0UL,0x55DFAFFE4F2B79D3LL,4UL,0x859DDC02D21D7E69LL,0x55DFAFFE4F2B79D3LL,0x51120CEF36128561LL},{0x55DFAFFE4F2B79D3LL,4UL,0x859DDC02D21D7E69LL,0x55DFAFFE4F2B79D3LL,0x51120CEF36128561LL,0x57FA2CD58985D117LL,0UL,1UL,0x859DDC02D21D7E69LL,0x859DDC02D21D7E69LL}};
                int32_t l_2492 = (-1L);
                int64_t *l_2509 = &g_1265[4];
                int32_t l_2510[3];
                int i, j;
                for (i = 0; i < 3; i++)
                    l_2510[i] = 0x9F7CA546L;
                for (g_2044.f1 = 0; (g_2044.f1 > 28); g_2044.f1++)
                { /* block id: 1144 */
                    uint16_t l_2467 = 7UL;
                    l_2456 |= (safe_rshift_func_uint16_t_u_u((safe_div_func_uint64_t_u_u(l_11[0], (safe_mod_func_uint8_t_u_u(((void*)0 == &g_1691), (safe_mod_func_int16_t_s_s((safe_lshift_func_uint8_t_u_s((g_218 = ((safe_rshift_func_int16_t_s_s(((safe_div_func_uint8_t_u_u(((l_2422 , 4294967286UL) > (l_2423[0][3][7] && ((0UL < (((--g_437) != (l_25[4][0][8] = (**g_2402))) | p_10)) >= p_10))), p_10)) || l_2421), 8)) <= 0x2FD68A29L)), 4)), 0x633FL)))))), p_10));
                    if ((l_2422 != ((*g_502) = (safe_mod_func_int64_t_s_s((8UL <= ((safe_mod_func_uint8_t_u_u((safe_mul_func_int32_t_s_s(((safe_mul_func_uint16_t_u_u((safe_mod_func_uint64_t_u_u(l_2467, ((*g_597) &= (safe_mul_func_int32_t_s_s((p_10 == ((safe_rshift_func_uint16_t_u_s(((((**g_2404) = ((((((l_2435[3][1] &= (safe_sub_func_uint8_t_u_u(251UL, (safe_mod_func_uint16_t_u_u(p_10, 0x29B7L))))) ^ ((*g_471) = (+0x55C9B4DF65CD443ELL))) >= (g_1722[2] , 0xE25721FA295F0477LL)) ^ l_2422) || p_10) <= 0x24EC5186AC3CEB32LL)) == (-1L)) , p_10), l_60)) <= l_2421)), p_10))))), l_60)) | 255UL), p_10)), l_2477[0][8])) ^ p_10)), l_2422)))))
                    { /* block id: 1154 */
                        l_2421 &= p_10;
                    }
                    else
                    { /* block id: 1156 */
                        return g_1722[4];
                    }
                }
                l_2479[0][5][0] = l_2478;
                if ((safe_mul_func_int64_t_s_s(p_10, (((safe_mul_func_int8_t_s_s((safe_unary_minus_func_int64_t_s((safe_div_func_int64_t_s_s(((safe_div_func_uint16_t_u_u(0x57A3L, 0x4AD9L)) >= (-6L)), ((***g_2231) &= p_10))))), (p_10 , (((l_2489 != l_2489) , (l_2492 &= (safe_mul_func_uint8_t_u_u((p_10 >= p_10), 3UL)))) , p_10)))) == p_10) != p_10))))
                { /* block id: 1163 */
                    int32_t l_2503 = 1L;
                    l_19 = (safe_div_func_int16_t_s_s(((safe_div_func_int32_t_s_s(((safe_mod_func_uint16_t_u_u(((safe_sub_func_uint8_t_u_u(246UL, ((safe_add_func_int8_t_s_s(p_10, ((l_2435[5][1] = l_2503) && l_2503))) <= (safe_lshift_func_uint8_t_u_s((safe_mul_func_uint32_t_u_u((l_2421 == (((safe_unary_minus_func_uint64_t_u((p_10 || (p_10 <= (l_2509 != &p_10))))) != l_60) <= l_2478.f0)), 1UL)), l_2477[0][8]))))) != p_10), p_10)) ^ p_10), p_10)) > (*g_502)), l_2510[1]));
                    l_2479[0][4][5] = l_2479[0][5][0];
                }
                else
                { /* block id: 1167 */
                    return g_2511;
                }
                if (((((((safe_rshift_func_uint16_t_u_u((0L != ((((*g_471) ^= l_19) <= p_10) && (safe_add_func_int64_t_s_s((**g_2232), (p_10 , ((safe_sub_func_uint8_t_u_u(((l_2518 != (p_10 , l_2519)) > l_46[1][1][1].f0), 0x2AL)) || p_10)))))), l_2520)) , 0UL) , p_10) && l_2492) || p_10) && l_2421))
                { /* block id: 1171 */
                    return g_2521;
                }
                else
                { /* block id: 1173 */
                    l_2522 = (*g_1052);
                }
            }
            return g_2304;
        }
        l_2524--;
    }
    if ((safe_rshift_func_uint16_t_u_u(65534UL, 14)))
    { /* block id: 1182 */
        int32_t l_2546 = (-8L);
        int32_t l_2599 = 0L;
        int64_t l_2601 = (-8L);
        union U2 *l_2609 = &g_2610;
        struct S0 **l_2611 = (void*)0;
        struct S0 **l_2612 = &g_781[0];
        struct S0 *l_2613[1];
        int16_t *l_2614 = &g_22;
        int16_t l_2620 = 1L;
        int i;
        for (i = 0; i < 1; i++)
            l_2613[i] = &l_46[1][1][1];
lbl_2602:
        for (l_2524 = 0; l_2524 < 4; l_2524 += 1)
        {
            for (g_358.f0 = 0; g_358.f0 < 2; g_358.f0 += 1)
            {
                for (g_2244.f0 = 0; g_2244.f0 < 4; g_2244.f0 += 1)
                {
                    struct S0 tmp = {1UL};
                    l_46[l_2524][g_358.f0][g_2244.f0] = tmp;
                }
            }
        }
        (**g_519) = l_2530;
        for (g_82 = 0; (g_82 == (-19)); --g_82)
        { /* block id: 1187 */
            uint16_t l_2555 = 0xBACDL;
            const uint16_t l_2595 = 65526UL;
            int32_t l_2600 = 0xB5602FC3L;
            for (g_1684.f0 = 28; (g_1684.f0 >= 27); g_1684.f0 = safe_sub_func_int32_t_s_s(g_1684.f0, 3))
            { /* block id: 1190 */
                uint8_t l_2547 = 0x14L;
                int8_t *l_2604 = &g_1894.f1;
                int8_t ** const l_2603[4] = {&l_2604,&l_2604,&l_2604,&l_2604};
                int i;
                for (g_1894.f1 = 4; (g_1894.f1 >= 0); g_1894.f1 -= 1)
                { /* block id: 1193 */
                    uint16_t l_2570[6][2][4] = {{{0xF068L,8UL,65531UL,0x6F81L},{0x350CL,8UL,0x38D0L,8UL}},{{65531UL,0x043CL,0x38D0L,1UL},{0x350CL,1UL,65531UL,1UL}},{{0xF068L,0x043CL,0xF068L,8UL},{0xF068L,8UL,65531UL,0x6F81L}},{{0x350CL,8UL,0x38D0L,8UL},{65531UL,0x043CL,0x38D0L,1UL}},{{0x350CL,1UL,65531UL,1UL},{0xF068L,0x043CL,0xF068L,8UL}},{{0xF068L,8UL,65531UL,0x6F81L},{0x350CL,8UL,0x38D0L,8UL}}};
                    int i, j, k;
                    for (g_1857 = 1; (g_1857 <= 4); g_1857 += 1)
                    { /* block id: 1196 */
                        int i, j, k;
                        if (g_1546[g_1857][(g_1857 + 3)][g_1894.f1])
                            break;
                        g_1546[g_1894.f1][g_1894.f1][g_1857] &= 0xE931949AL;
                        if (g_1601[g_1894.f1][(g_1857 + 1)])
                            break;
                    }
                    if (g_1546[g_1894.f1][(g_1894.f1 + 2)][g_1894.f1])
                    { /* block id: 1201 */
                        struct S0 l_2548 = {0UL};
                        int32_t l_2594 = 0xD52AF9D1L;
                        int8_t *l_2596 = (void*)0;
                        int8_t *l_2597[7];
                        int i, j, k;
                        for (i = 0; i < 7; i++)
                            l_2597[i] = &g_1666;
                        (**g_519) = func_33((g_1546[g_1894.f1][(g_1894.f1 + 4)][g_1894.f1] != ((((safe_lshift_func_uint64_t_u_s((((***g_2231) , ((**g_2404) = 0L)) | 0xE5C5L), ((p_10 >= (+(safe_sub_func_int32_t_s_s((****g_518), (((((*l_78) = (safe_mod_func_uint64_t_u_u((safe_sub_func_int64_t_s_s((l_2546 == p_10), 0x80B9F685559B1B95LL)), l_2547))) > p_10) && 0xE85BL) ^ p_10))))) | p_10))) | p_10) != 1UL) != p_10)), l_2548, g_1274, p_10);
                        (*l_2530) = ((!(safe_lshift_func_int64_t_s_s((((safe_sub_func_int8_t_s_s((l_2555 = (!18446744073709551615UL)), ((g_1546[g_1894.f1][(g_1894.f1 + 4)][g_1894.f1] &= p_10) , (l_2599 = (safe_sub_func_uint16_t_u_u(((safe_mod_func_int32_t_s_s((safe_lshift_func_uint64_t_u_s((safe_mul_func_uint8_t_u_u((((safe_lshift_func_int64_t_s_s((safe_mod_func_int16_t_s_s(((g_1546[g_1894.f1][(g_1894.f1 + 2)][g_1894.f1] & (safe_mul_func_uint64_t_u_u(l_2570[0][0][3], ((safe_add_func_int16_t_s_s(((safe_mod_func_uint16_t_u_u(((g_1546[g_1894.f1][(g_1894.f1 + 2)][g_1894.f1] <= (p_10 <= (l_2546 , ((safe_div_func_int16_t_s_s((safe_add_func_int64_t_s_s((((!(l_2546 = (safe_add_func_int16_t_s_s(((**g_2404) |= l_2582), (safe_lshift_func_int16_t_s_s(((((safe_sub_func_int64_t_s_s((((safe_div_func_int64_t_s_s((((safe_sub_func_uint32_t_u_u(((((l_2594 = ((safe_div_func_uint16_t_u_u((((*g_471) = (p_10 && 0xA3E13D58L)) <= g_2593[1]), p_10)) <= p_10)) < 1UL) != (*l_2530)) , (*g_502)), l_2546)) & (-1L)) <= (*g_502)), (*g_2233))) , 249UL) >= 0x9DL), 0x797A891B4D899D83LL)) , l_2595) == (*g_521)) != l_2547), 11)))))) >= p_10) <= 1UL), 0xE0EA15B5A567FF72LL)), p_10)) | 0xF1F9565CL)))) >= (*g_727)), l_2547)) < g_2598), p_10)) >= p_10)))) | p_10), p_10)), l_2547)) | l_2595) > p_10), g_2598)), l_2547)), p_10)) , 0x0380L), p_10)))))) & 3L) , 0x92288A7DABA8358ALL), l_2595))) , p_10);
                        l_2600 = 1L;
                        (*g_1596) |= l_2601;
                    }
                    else
                    { /* block id: 1215 */
                        union U2 *l_2606 = &g_1894;
                        union U2 **l_2605 = &l_2606;
                        union U2 *l_2608 = &g_2044;
                        union U2 **l_2607[4] = {&l_2608,&l_2608,&l_2608,&l_2608};
                        int i;
                        if (g_1657)
                            goto lbl_2602;
                        (*l_2530) |= ((l_2603[3] == (void*)0) || p_10);
                        if (p_10)
                            continue;
                        l_2609 = ((*l_2605) = (void*)0);
                    }
                    if (p_10)
                        break;
                }
                if ((***g_519))
                    break;
                if (p_10)
                    break;
            }
        }
        (**g_519) = func_33((*l_2530), ((*l_1269) = (*l_1269)), l_2620, p_10);
    }
    else
    { /* block id: 1232 */
        int8_t l_2625[1][5];
        int32_t l_2630 = 0xBAF9197EL;
        uint16_t l_2637 = 0xE6CBL;
        int32_t l_2665 = 0x004AF819L;
        int64_t l_2710[10][1] = {{0x9EB7EF499CD4E8FBLL},{0x5B36224E22CE8934LL},{0x5B36224E22CE8934LL},{0x9EB7EF499CD4E8FBLL},{0x5B36224E22CE8934LL},{0x5B36224E22CE8934LL},{0x9EB7EF499CD4E8FBLL},{0x5B36224E22CE8934LL},{0x5B36224E22CE8934LL},{0x9EB7EF499CD4E8FBLL}};
        int64_t ****l_2726 = (void*)0;
        int32_t *l_2727 = &l_2630;
        int32_t *l_2728 = &l_2665;
        int32_t *l_2729[7] = {&g_1197,&g_1197,&g_949.f0,&g_1197,&g_1197,&g_949.f0,&g_1197};
        int32_t l_2730 = 1L;
        int16_t l_2731 = 0x08FEL;
        uint32_t l_2732 = 9UL;
        uint16_t * const *l_2747 = &l_49[3];
        uint16_t * const **l_2746[3][10][8] = {{{&l_2747,&l_2747,&l_2747,&l_2747,&l_2747,&l_2747,&l_2747,&l_2747},{&l_2747,&l_2747,&l_2747,&l_2747,&l_2747,&l_2747,&l_2747,&l_2747},{&l_2747,&l_2747,&l_2747,&l_2747,&l_2747,&l_2747,&l_2747,&l_2747},{&l_2747,&l_2747,&l_2747,(void*)0,(void*)0,&l_2747,&l_2747,&l_2747},{&l_2747,&l_2747,&l_2747,&l_2747,&l_2747,&l_2747,&l_2747,&l_2747},{&l_2747,&l_2747,&l_2747,&l_2747,&l_2747,(void*)0,&l_2747,&l_2747},{&l_2747,&l_2747,(void*)0,&l_2747,&l_2747,&l_2747,&l_2747,&l_2747},{(void*)0,&l_2747,&l_2747,&l_2747,&l_2747,&l_2747,&l_2747,&l_2747},{&l_2747,&l_2747,&l_2747,&l_2747,&l_2747,(void*)0,(void*)0,&l_2747},{&l_2747,&l_2747,&l_2747,&l_2747,&l_2747,&l_2747,&l_2747,(void*)0}},{{&l_2747,&l_2747,&l_2747,(void*)0,&l_2747,&l_2747,&l_2747,&l_2747},{&l_2747,&l_2747,&l_2747,(void*)0,&l_2747,&l_2747,(void*)0,&l_2747},{(void*)0,&l_2747,&l_2747,(void*)0,&l_2747,(void*)0,(void*)0,&l_2747},{&l_2747,&l_2747,(void*)0,&l_2747,&l_2747,&l_2747,&l_2747,(void*)0},{(void*)0,&l_2747,(void*)0,&l_2747,&l_2747,&l_2747,(void*)0,&l_2747},{&l_2747,&l_2747,&l_2747,(void*)0,&l_2747,(void*)0,(void*)0,&l_2747},{&l_2747,&l_2747,&l_2747,&l_2747,&l_2747,(void*)0,&l_2747,&l_2747},{&l_2747,&l_2747,&l_2747,&l_2747,&l_2747,&l_2747,&l_2747,&l_2747},{&l_2747,(void*)0,&l_2747,&l_2747,&l_2747,&l_2747,&l_2747,&l_2747},{&l_2747,&l_2747,&l_2747,&l_2747,&l_2747,&l_2747,&l_2747,&l_2747}},{{&l_2747,&l_2747,&l_2747,&l_2747,&l_2747,&l_2747,(void*)0,&l_2747},{&l_2747,(void*)0,&l_2747,&l_2747,&l_2747,&l_2747,&l_2747,&l_2747},{&l_2747,&l_2747,&l_2747,&l_2747,&l_2747,&l_2747,&l_2747,(void*)0},{(void*)0,&l_2747,&l_2747,(void*)0,&l_2747,&l_2747,&l_2747,&l_2747},{&l_2747,&l_2747,&l_2747,&l_2747,(void*)0,&l_2747,&l_2747,(void*)0},{(void*)0,&l_2747,&l_2747,&l_2747,&l_2747,&l_2747,(void*)0,&l_2747},{(void*)0,&l_2747,&l_2747,&l_2747,&l_2747,&l_2747,(void*)0,&l_2747},{&l_2747,(void*)0,(void*)0,&l_2747,&l_2747,&l_2747,&l_2747,&l_2747},{&l_2747,&l_2747,(void*)0,&l_2747,&l_2747,&l_2747,(void*)0,(void*)0},{(void*)0,(void*)0,&l_2747,&l_2747,(void*)0,(void*)0,(void*)0,&l_2747}}};
        struct S0 l_2780 = {0xD40B8112283F0C0CLL};
        int8_t l_2815 = 0xEFL;
        struct S0 *l_2837 = &l_46[0][0][3];
        int i, j, k;
        for (i = 0; i < 1; i++)
        {
            for (j = 0; j < 5; j++)
                l_2625[i][j] = 0x6AL;
        }
        if (((safe_add_func_uint8_t_u_u(((safe_mul_func_uint16_t_u_u(l_2625[0][2], ((safe_rshift_func_int16_t_s_u(((**g_2404) = (safe_rshift_func_int32_t_s_s(0x3E8988C5L, 22))), ((2UL != (((l_2630 &= p_10) , l_2630) && (safe_lshift_func_uint32_t_u_u(l_2630, 2)))) & (0UL >= (safe_rshift_func_uint8_t_u_s((safe_sub_func_int64_t_s_s((*l_2530), (*l_2530))), p_10)))))) , 65535UL))) , l_2637), (*g_471))) , p_10))
        { /* block id: 1235 */
            int32_t l_2661[2][4] = {{(-1L),0x765FBE56L,0x765FBE56L,(-1L)},{0x765FBE56L,(-1L),0x765FBE56L,0x765FBE56L}};
            int32_t ****l_2670 = &g_1759[4];
            int32_t l_2677 = 1L;
            int32_t l_2678 = 0xCB967934L;
            struct S0 l_2709 = {18446744073709551615UL};
            uint8_t l_2711 = 0x41L;
            int i, j;
            for (g_163.f0 = 1; (g_163.f0 <= 6); g_163.f0 += 1)
            { /* block id: 1238 */
                uint64_t l_2656 = 8UL;
                int32_t l_2664[8][7][2] = {{{0x6A3FE8E3L,0x7C14013DL},{(-1L),0L},{0xF6E7D1F7L,(-8L)},{0x6A3FE8E3L,0x98DA7BBBL},{(-8L),(-1L)},{1L,0xBF81EA6BL},{0xBF81EA6BL,0xE1D9C467L}},{{0xF2F17B16L,0L},{5L,1L},{0xE1D9C467L,0xE1D9C467L},{0xBEC29184L,(-1L)},{(-1L),0x0BD6536BL},{0x7D477FF0L,1L},{1L,0x7D477FF0L}},{{0xF55015A8L,(-10L)},{0xF55015A8L,0x7D477FF0L},{1L,1L},{0x7D477FF0L,0x0BD6536BL},{(-1L),(-1L)},{0xBEC29184L,0xE1D9C467L},{0xE1D9C467L,1L}},{{5L,0L},{0xF2F17B16L,0xE1D9C467L},{0xBF81EA6BL,(-2L)},{(-1L),(-1L)},{0L,1L},{0L,0L},{0xF55015A8L,(-8L)}},{{0xA2D06454L,0x7D477FF0L},{0L,1L},{0x7D477FF0L,(-1L)},{0L,(-1L)},{0xBF81EA6BL,0xF2F17B16L},{0xE1D9C467L,0L},{(-1L),0L}},{{0xE1D9C467L,0xF2F17B16L},{0xBF81EA6BL,(-1L)},{0L,(-1L)},{0x7D477FF0L,1L},{0L,0x7D477FF0L},{0xA2D06454L,(-8L)},{0xF55015A8L,0L}},{{0L,1L},{0L,(-1L)},{(-1L),(-2L)},{0xBF81EA6BL,0xE1D9C467L},{0xF2F17B16L,0L},{5L,1L},{0xE1D9C467L,0xE1D9C467L}},{{0xBEC29184L,(-1L)},{(-1L),0x0BD6536BL},{0x7D477FF0L,1L},{1L,0x7D477FF0L},{0xF55015A8L,(-10L)},{0xF55015A8L,0x7D477FF0L},{1L,1L}}};
                int32_t ** const *l_2672 = (void*)0;
                int32_t ** const * const *l_2671 = &l_2672;
                int i, j, k;
                l_2678 ^= (safe_sub_func_int8_t_s_s(((*g_471) = (safe_lshift_func_uint64_t_u_s((safe_add_func_int32_t_s_s(p_10, ((*l_80) = ((safe_mod_func_int16_t_s_s((~(safe_lshift_func_uint64_t_u_u((!(safe_sub_func_uint32_t_u_u((safe_sub_func_uint16_t_u_u(0UL, (safe_lshift_func_uint32_t_u_s(0xC7D88D4AL, 11)))), (l_2656 != (safe_sub_func_uint64_t_u_u(((((safe_div_func_int32_t_s_s((((1L || (l_2661[0][1] = (((*l_2530) = p_10) <= (-8L)))) | (l_2677 ^= (safe_add_func_uint8_t_u_u((g_1274++), (safe_mul_func_uint32_t_u_u((((*g_1757) = l_2670) == (g_2673 = l_2671)), p_10)))))) , p_10), 0x9ABC8416L)) && (-1L)) == (*g_1596)) < p_10), (**g_2232))))))), p_10))), 1UL)) , 1UL)))), p_10))), 0xDDL));
            }
            for (l_2677 = 0; (l_2677 >= 2); ++l_2677)
            { /* block id: 1251 */
                int32_t l_2695 = 0x3100BF3AL;
                int32_t l_2708[3];
                int i;
                for (i = 0; i < 3; i++)
                    l_2708[i] = 1L;
                l_2681[6]++;
                if ((safe_add_func_uint64_t_u_u(7UL, ((*g_1883) ^= (safe_mul_func_uint64_t_u_u(((l_2688[4][0] == (((safe_add_func_uint32_t_u_u(((l_2695 = (((safe_add_func_int32_t_s_s(l_2695, p_10)) > (((safe_add_func_int32_t_s_s(p_10, 0x30A66224L)) && (((*g_2233) = p_10) <= ((safe_rshift_func_uint64_t_u_s((+0xC938FA67B98409F9LL), 46)) | (((safe_add_func_uint16_t_u_u((g_2707[4] , 0x3BA3L), 65531UL)) | 0x13C9DD04L) >= 0L)))) <= 0L)) , p_10)) >= 18446744073709551613UL), (**g_2675))) && p_10) , p_10)) ^ l_2708[1]), (*g_727)))))))
                { /* block id: 1256 */
                    (**g_519) = func_33(l_2637, ((*l_1269) = l_2709), l_2710[6][0], p_10);
                    if ((**g_520))
                        continue;
                }
                else
                { /* block id: 1260 */
                    --l_2711;
                    if (l_2695)
                        goto lbl_2716;
                }
            }
lbl_2716:
            for (g_1274 = 0; (g_1274 == 16); g_1274 = safe_add_func_uint32_t_u_u(g_1274, 1))
            { /* block id: 1266 */
                return g_29;
            }
            l_2720 = &g_500[6][0][6];
        }
        else
        { /* block id: 1271 */
            uint32_t l_2721 = 0xF679DC71L;
            int64_t *****l_2724[3];
            int i;
            for (i = 0; i < 3; i++)
                l_2724[i] = &l_2615;
            l_2726 = ((((((l_2710[7][0] > l_2721) > (0xF0L & (1UL <= p_10))) , (g_2722 = (*l_2615))) != (*l_2615)) , g_871) , (l_2725 = &g_2722));
        }
        ++l_2732;
        for (g_2304.f1 = (-5); (g_2304.f1 >= (-7)); g_2304.f1--)
        { /* block id: 1279 */
            int16_t l_2740[6] = {4L,1L,1L,4L,1L,1L};
            int32_t l_2748 = (-9L);
            int64_t l_2803 = 0x0DC3DB8D05D317F5LL;
            int32_t l_2809 = 0xD5F6ECA3L;
            int32_t l_2810 = 0x7517956AL;
            int32_t l_2811 = 0xC684165BL;
            int32_t l_2812[9] = {0x2AC97833L,0x2AC97833L,0x2AC97833L,0x2AC97833L,0x2AC97833L,0x2AC97833L,0x2AC97833L,0x2AC97833L,0x2AC97833L};
            int32_t l_2814 = 0x93433DE9L;
            uint32_t l_2821 = 0x18CC20E9L;
            int i;
            for (g_1970.f0 = 0; (g_1970.f0 == 4); g_1970.f0++)
            { /* block id: 1282 */
                uint32_t l_2739 = 0x4AD07874L;
                uint64_t * const l_2771 = (void*)0;
                struct S0 *l_2776 = &g_1684;
                int8_t *l_2786 = &l_2625[0][4];
                int32_t l_2802 = 0xC9262F0FL;
                int32_t l_2807 = 1L;
                int32_t l_2808 = 0L;
                int32_t l_2816 = 0x672EAB40L;
                l_2740[2] &= ((*l_2530) ^= l_2739);
                if (((!p_10) & (((((g_2742 , (safe_add_func_uint64_t_u_u(p_10, ((l_2748 = ((g_2745 = &g_1556) != (p_10 , l_2746[0][2][5]))) | (safe_sub_func_uint32_t_u_u((l_2739 != ((((safe_mod_func_int16_t_s_s(l_2740[2], ((**g_2404) = (safe_lshift_func_uint32_t_u_s((0xD8L >= 255UL), (*l_2728)))))) && 0xABC9718CL) < 255UL) ^ 0xF26A0319L)), 0xBB7E779EL)))))) < p_10) && (**g_2404)) > l_2740[1]) || (-1L))))
                { /* block id: 1288 */
                    const int32_t l_2766 = (-8L);
                    uint64_t * const l_2772 = &g_165;
                    int16_t *l_2773[6] = {&g_22,&l_2740[2],&l_2740[2],&g_22,&l_2740[2],&l_2740[2]};
                    int32_t l_2800 = 0xD2B5ACBEL;
                    int32_t l_2801 = 0L;
                    int32_t l_2804 = 0xFBD1D8C5L;
                    int32_t l_2805 = 0xB386A613L;
                    int32_t l_2806 = (-1L);
                    int32_t l_2813 = (-1L);
                    int32_t l_2817 = 2L;
                    int32_t l_2818 = 0x09F2DB9EL;
                    int32_t l_2819 = 0x9C1549D2L;
                    int32_t l_2820 = 0L;
                    union U2 **l_2824 = (void*)0;
                    union U2 **l_2825 = (void*)0;
                    union U2 *l_2827 = &g_2304;
                    union U2 **l_2826 = &l_2827;
                    int i;
                    for (g_22 = 0; (g_22 > 20); ++g_22)
                    { /* block id: 1291 */
                        int32_t l_2757 = 0L;
                        l_2748 = l_2757;
                        return g_2758;
                    }
                    if ((safe_sub_func_uint16_t_u_u((((safe_rshift_func_int64_t_s_u((((l_2748 = ((~(safe_mul_func_uint8_t_u_u((l_2766 , (((**g_2402) = (safe_rshift_func_uint16_t_u_s((((0xD28FF7CEL < p_10) & (*l_2530)) , ((safe_mod_func_uint32_t_u_u((*g_502), 0xED92C929L)) , p_10)), 6))) , (l_2771 != (((*l_1269) = (l_2739 , (*l_1269))) , l_2772)))), 0x93L))) || l_2766)) , 4294967291UL) >= (*l_2530)), p_10)) > (*l_2530)) | p_10), 1UL)))
                    { /* block id: 1298 */
                        struct S0 *l_2774 = &l_46[1][1][1];
                        struct S0 **l_2775[10][8][3] = {{{&g_781[3],&g_781[4],(void*)0},{(void*)0,&g_781[0],&l_1269},{&g_781[4],(void*)0,(void*)0},{&g_781[4],(void*)0,&l_2774},{&g_781[4],&l_2774,&l_2774},{&g_781[4],&g_781[4],&l_2774},{(void*)0,&g_781[2],&g_781[4]},{&g_781[3],&g_781[4],&g_781[4]}},{{&g_781[0],&l_2774,&l_2774},{&l_1269,&g_781[4],&l_2774},{(void*)0,&g_781[2],&g_781[2]},{(void*)0,&g_781[4],&g_781[2]},{&g_781[4],&l_2774,&l_1269},{&g_781[4],(void*)0,&l_1269},{(void*)0,(void*)0,&g_781[2]},{&l_2774,&g_781[0],&g_781[2]}},{{&g_781[4],&g_781[4],&l_2774},{&l_2774,(void*)0,&l_2774},{&g_781[4],(void*)0,&g_781[4]},{&l_2774,&l_2774,&g_781[4]},{&g_781[4],&l_1269,&l_2774},{&l_2774,&g_781[1],&l_2774},{(void*)0,&l_2774,&l_2774},{&g_781[4],&l_2774,(void*)0}},{{&l_2774,(void*)0,&l_1269},{&g_781[4],&l_2774,(void*)0},{&l_1269,(void*)0,&g_781[4]},{&g_781[4],(void*)0,&l_2774},{(void*)0,&g_781[4],&g_781[4]},{&l_2774,&g_781[4],(void*)0},{&l_1269,&l_2774,&l_1269},{(void*)0,&g_781[4],(void*)0}},{{&l_2774,(void*)0,(void*)0},{&l_2774,&g_781[3],&g_781[3]},{(void*)0,&l_2774,&l_1269},{&l_1269,&l_2774,&l_1269},{&l_2774,&l_1269,&g_781[4]},{(void*)0,&l_1269,&l_2774},{&g_781[4],&l_1269,&g_781[4]},{&l_1269,&l_2774,(void*)0}},{{&g_781[4],&l_2774,&l_2774},{&l_2774,&g_781[3],&l_1269},{&g_781[2],(void*)0,&l_1269},{&l_1269,&g_781[4],&l_2774},{(void*)0,&l_2774,(void*)0},{&l_2774,&g_781[4],&g_781[4]},{(void*)0,&g_781[4],&l_2774},{&l_2774,(void*)0,&g_781[4]}},{{(void*)0,(void*)0,&l_1269},{&l_2774,&l_2774,&l_1269},{(void*)0,(void*)0,&g_781[3]},{&l_1269,&l_2774,(void*)0},{&g_781[2],&l_2774,(void*)0},{&l_2774,(void*)0,&l_1269},{&g_781[4],&l_2774,(void*)0},{&l_1269,(void*)0,&g_781[4]}},{{&g_781[4],(void*)0,&l_2774},{(void*)0,&g_781[4],&g_781[4]},{&l_2774,&g_781[4],(void*)0},{&l_1269,&l_2774,&l_1269},{(void*)0,&g_781[4],(void*)0},{&l_2774,(void*)0,(void*)0},{&l_2774,&g_781[3],&g_781[3]},{(void*)0,&l_2774,&l_1269}},{{&l_1269,&l_2774,&l_1269},{&l_2774,&l_1269,&g_781[4]},{(void*)0,&l_1269,&l_2774},{&g_781[4],&l_1269,&g_781[4]},{&l_1269,&l_2774,(void*)0},{&g_781[4],&l_2774,&l_2774},{&l_2774,&g_781[3],&l_1269},{&g_781[2],(void*)0,&l_1269}},{{&l_1269,&g_781[4],&l_2774},{(void*)0,&l_2774,(void*)0},{&l_2774,&g_781[4],&g_781[4]},{(void*)0,&g_781[4],&l_2774},{&l_2774,(void*)0,&g_781[4]},{(void*)0,(void*)0,&l_1269},{&l_2774,&l_2774,&l_1269},{(void*)0,(void*)0,&g_781[3]}}};
                        int i, j, k;
                        l_2776 = l_2774;
                    }
                    else
                    { /* block id: 1300 */
                        int32_t l_2777 = 0x87ACE511L;
                        int32_t l_2791 = (-1L);
                        if (l_2777)
                            break;
                        (**g_519) = func_33((safe_rshift_func_uint8_t_u_u(0xC9L, 3)), l_2780, (((*l_78) &= ((safe_lshift_func_uint32_t_u_u(((*g_470) == ((((safe_div_func_uint32_t_u_u(((((*l_2530) || p_10) & (safe_unary_minus_func_int32_t_s(0x99828BD9L))) , (*g_502)), (1UL & (p_10 | p_10)))) != p_10) | l_2740[2]) , l_2786)), 6)) && 0x10C1616789A23698LL)) == 0UL), p_10);
                        if ((**g_2675))
                            continue;
                        (*g_2675) = func_33(((18446744073709551608UL || (safe_add_func_int8_t_s_s((safe_sub_func_int32_t_s_s(0x5549B3CCL, (&g_2404 != &g_2404))), (l_2791 = ((*g_471) = (**g_470)))))) == l_2766), (*l_1269), (safe_div_func_int64_t_s_s((safe_rshift_func_int16_t_s_s(((safe_lshift_func_uint64_t_u_u(((((safe_sub_func_uint32_t_u_u((p_10 | (p_10 && l_2739)), l_2766)) <= 4UL) , (**g_2404)) , 18446744073709551615UL), p_10)) && 1UL), p_10)), p_10)), l_2740[3]);
                    }
                    l_2821--;
                    (*l_2826) = (void*)0;
                }
                else
                { /* block id: 1311 */
                    uint32_t l_2830[6][7][3] = {{{0UL,4294967295UL,4294967295UL},{0xACDC19A2L,4294967295UL,4294967291UL},{0x7E076002L,4294967295UL,1UL},{0UL,4294967295UL,4294967295UL},{0xACDC19A2L,4294967295UL,4294967291UL},{0x7E076002L,4294967295UL,1UL},{0UL,4294967295UL,1UL}},{{1UL,1UL,0xD0946F28L},{4294967291UL,1UL,1UL},{4294967295UL,1UL,1UL},{1UL,1UL,0xD0946F28L},{4294967291UL,1UL,1UL},{4294967295UL,1UL,1UL},{1UL,1UL,0xD0946F28L}},{{4294967291UL,1UL,1UL},{4294967295UL,1UL,1UL},{1UL,1UL,0xD0946F28L},{4294967291UL,1UL,1UL},{4294967295UL,1UL,1UL},{1UL,1UL,0xD0946F28L},{4294967291UL,1UL,1UL}},{{4294967295UL,1UL,1UL},{1UL,1UL,0xD0946F28L},{4294967291UL,1UL,1UL},{4294967295UL,1UL,1UL},{1UL,1UL,0xD0946F28L},{4294967291UL,1UL,1UL},{4294967295UL,1UL,1UL}},{{1UL,1UL,0xD0946F28L},{4294967291UL,1UL,1UL},{4294967295UL,1UL,1UL},{1UL,1UL,0xD0946F28L},{4294967291UL,1UL,1UL},{4294967295UL,1UL,1UL},{1UL,1UL,0xD0946F28L}},{{4294967291UL,1UL,1UL},{4294967295UL,1UL,1UL},{1UL,1UL,0xD0946F28L},{4294967291UL,1UL,1UL},{4294967295UL,1UL,1UL},{1UL,1UL,0xD0946F28L},{4294967291UL,1UL,1UL}}};
                    int i, j, k;
                    for (g_79 = (-22); (g_79 > 18); g_79 = safe_add_func_int8_t_s_s(g_79, 1))
                    { /* block id: 1314 */
                        --l_2830[0][5][0];
                        return g_2833;
                    }
                    (*l_2530) ^= (safe_rshift_func_int32_t_s_u((((safe_unary_minus_func_uint64_t_u(l_2808)) , (void*)0) == l_2837), 21));
                }
            }
            g_2840 = l_2838;
        }
    }
    return g_2842;
}


/* ------------------------------------------ */
/* 
 * reads : g_1028.f0
 * writes: g_1028.f0 g_2404
 */
static int32_t  func_30(int32_t * p_31, int32_t * p_32)
{ /* block id: 818 */
    const int16_t l_1710 = (-3L);
    int64_t *l_1727 = &g_17;
    int64_t **l_1726[7][6] = {{&l_1727,&l_1727,&l_1727,(void*)0,&l_1727,&l_1727},{&l_1727,&l_1727,&l_1727,&l_1727,&l_1727,&l_1727},{&l_1727,&l_1727,&l_1727,(void*)0,&l_1727,(void*)0},{&l_1727,&l_1727,&l_1727,&l_1727,&l_1727,&l_1727},{&l_1727,&l_1727,&l_1727,&l_1727,&l_1727,(void*)0},{(void*)0,&l_1727,&l_1727,&l_1727,(void*)0,&l_1727},{&l_1727,(void*)0,&l_1727,&l_1727,(void*)0,&l_1727}};
    uint16_t *l_1732 = &g_143;
    int32_t ***l_1749 = &g_140;
    uint16_t ** const l_1791 = (void*)0;
    uint32_t l_1808[7] = {3UL,6UL,6UL,3UL,6UL,6UL,3UL};
    int32_t l_1828 = 7L;
    int32_t l_1830 = 0x22A09F96L;
    int32_t l_1832 = 0x9A7C7C52L;
    uint8_t l_1836 = 0UL;
    struct S1 *l_1887 = &g_1028;
    struct S0 l_1901[4][6][6] = {{{{0UL},{0x4F2A475966CC4386LL},{18446744073709551609UL},{0UL},{0UL},{0UL}},{{1UL},{4UL},{4UL},{1UL},{1UL},{0UL}},{{0xF616FA08FA9F2887LL},{0xC844460B4000D345LL},{0x2178625DA60875B3LL},{0x3263A9C3E81F2CE6LL},{0x2C2CBA9C1A189706LL},{0UL}},{{0x4F2A475966CC4386LL},{1UL},{0UL},{0xBEF9CF2DF87479D5LL},{0x2C2CBA9C1A189706LL},{18446744073709551606UL}},{{0xC9577DFEA67CC131LL},{0xC844460B4000D345LL},{0x7A5F64BCE8C92645LL},{0x386B717AABE654CBLL},{1UL},{0x87344E64ED4D6A42LL}},{{18446744073709551611UL},{4UL},{0xC8601B274A10C05ELL},{0x7A5F64BCE8C92645LL},{0UL},{0xFDEA0498EA290A21LL}}},{{{18446744073709551615UL},{18446744073709551615UL},{0UL},{0xD6E0B27FBBEC5775LL},{1UL},{0x4B5D77279CE2A7E8LL}},{{1UL},{0xC244EF144E98A03ELL},{7UL},{0xC8601B274A10C05ELL},{18446744073709551611UL},{0x08F747011B4DDCC9LL}},{{7UL},{0UL},{0UL},{0UL},{7UL},{6UL}},{{1UL},{18446744073709551615UL},{1UL},{18446744073709551611UL},{0x87344E64ED4D6A42LL},{18446744073709551609UL}},{{18446744073709551615UL},{0xF616FA08FA9F2887LL},{18446744073709551615UL},{18446744073709551615UL},{0xC8601B274A10C05ELL},{18446744073709551609UL}},{{0UL},{0xBEF9CF2DF87479D5LL},{1UL},{18446744073709551609UL},{18446744073709551615UL},{6UL}}},{{{0xC8601B274A10C05ELL},{1UL},{0UL},{0x7A5F64BCE8C92645LL},{6UL},{0x08F747011B4DDCC9LL}},{{0xC9577DFEA67CC131LL},{4UL},{7UL},{0xD38F414618F8E978LL},{0x7A5F64BCE8C92645LL},{0x4B5D77279CE2A7E8LL}},{{3UL},{6UL},{0UL},{0x08F747011B4DDCC9LL},{0xC9577DFEA67CC131LL},{1UL}},{{0xFDEA0498EA290A21LL},{0xD74E1162FA53ED7FLL},{0xC9577DFEA67CC131LL},{0xC9577DFEA67CC131LL},{0xD74E1162FA53ED7FLL},{0xFDEA0498EA290A21LL}},{{0xC244EF144E98A03ELL},{0x2178625DA60875B3LL},{0x4B5D77279CE2A7E8LL},{0xD629A504FC25B4BELL},{0x2C2CBA9C1A189706LL},{0xEECF3DC6F4520E2BLL}},{{4UL},{18446744073709551615UL},{0xD74E1162FA53ED7FLL},{0x87344E64ED4D6A42LL},{3UL},{0xD38F414618F8E978LL}}},{{{4UL},{1UL},{0x87344E64ED4D6A42LL},{0xD629A504FC25B4BELL},{0UL},{0x4F2A475966CC4386LL}},{{0xC244EF144E98A03ELL},{0x2C2CBA9C1A189706LL},{0UL},{0xC9577DFEA67CC131LL},{0x4B5D77279CE2A7E8LL},{0x386B717AABE654CBLL}},{{0xFDEA0498EA290A21LL},{0xD629A504FC25B4BELL},{18446744073709551609UL},{0x08F747011B4DDCC9LL},{18446744073709551615UL},{4UL}},{{3UL},{18446744073709551609UL},{0xC8601B274A10C05ELL},{0xD38F414618F8E978LL},{0UL},{18446744073709551615UL}},{{0xC9577DFEA67CC131LL},{18446744073709551615UL},{18446744073709551615UL},{0x7A5F64BCE8C92645LL},{18446744073709551615UL},{18446744073709551615UL}},{{0xC8601B274A10C05ELL},{0UL},{0xF616FA08FA9F2887LL},{18446744073709551609UL},{0xBEF9CF2DF87479D5LL},{1UL}}}};
    struct S0 **l_1905 = &g_781[4];
    uint16_t *l_1927 = &g_437;
    uint8_t **l_1945[5][3] = {{(void*)0,(void*)0,(void*)0},{(void*)0,(void*)0,(void*)0},{(void*)0,(void*)0,(void*)0},{(void*)0,(void*)0,(void*)0},{(void*)0,(void*)0,(void*)0}};
    int32_t l_1963 = 0xC0AE988FL;
    uint32_t l_1964 = 18446744073709551615UL;
    const struct S1 ***l_2014 = &g_1101;
    const struct S1 ****l_2013[2];
    uint64_t l_2072 = 0x2EC28784865E5AB8LL;
    uint64_t *****l_2084 = &g_1365;
    int32_t l_2101 = 0xDCB74961L;
    int8_t l_2102 = (-6L);
    int32_t l_2103 = 0xB125E79EL;
    int32_t l_2104[4] = {0xC0673FC9L,0xC0673FC9L,0xC0673FC9L,0xC0673FC9L};
    int32_t l_2107[3][2];
    uint32_t l_2194 = 1UL;
    struct S0 l_2255 = {18446744073709551615UL};
    int32_t l_2336[2][4][7];
    int32_t ***l_2352 = &g_1692;
    uint8_t l_2359 = 0UL;
    int8_t l_2394 = 2L;
    int16_t ***l_2416 = &g_2404;
    uint8_t l_2417 = 1UL;
    int i, j, k;
    for (i = 0; i < 2; i++)
        l_2013[i] = &l_2014;
    for (i = 0; i < 3; i++)
    {
        for (j = 0; j < 2; j++)
            l_2107[i][j] = 0x52B4E385L;
    }
    for (i = 0; i < 2; i++)
    {
        for (j = 0; j < 4; j++)
        {
            for (k = 0; k < 7; k++)
                l_2336[i][j][k] = 0xE495EC22L;
        }
    }
    for (g_1028.f0 = 0; (g_1028.f0 <= (-18)); --g_1028.f0)
    { /* block id: 821 */
        struct S0 l_1709 = {5UL};
        uint32_t l_1721 = 0UL;
        int8_t *l_1723 = &g_1657;
        int64_t **l_1728[2][8][9] = {{{&l_1727,&l_1727,&l_1727,&l_1727,&l_1727,&l_1727,&l_1727,&l_1727,&l_1727},{&l_1727,&l_1727,&l_1727,&l_1727,&l_1727,&l_1727,&l_1727,&l_1727,&l_1727},{&l_1727,&l_1727,&l_1727,&l_1727,&l_1727,&l_1727,&l_1727,&l_1727,&l_1727},{&l_1727,&l_1727,&l_1727,&l_1727,&l_1727,&l_1727,&l_1727,&l_1727,&l_1727},{&l_1727,&l_1727,&l_1727,&l_1727,&l_1727,&l_1727,&l_1727,&l_1727,&l_1727},{&l_1727,&l_1727,&l_1727,&l_1727,&l_1727,&l_1727,&l_1727,&l_1727,&l_1727},{&l_1727,&l_1727,&l_1727,&l_1727,&l_1727,&l_1727,&l_1727,&l_1727,&l_1727},{&l_1727,&l_1727,&l_1727,&l_1727,(void*)0,&l_1727,&l_1727,(void*)0,&l_1727}},{{&l_1727,(void*)0,&l_1727,&l_1727,&l_1727,&l_1727,&l_1727,&l_1727,&l_1727},{(void*)0,&l_1727,&l_1727,&l_1727,&l_1727,&l_1727,&l_1727,(void*)0,&l_1727},{&l_1727,(void*)0,&l_1727,&l_1727,(void*)0,&l_1727,&l_1727,&l_1727,&l_1727},{&l_1727,&l_1727,&l_1727,&l_1727,(void*)0,&l_1727,(void*)0,&l_1727,&l_1727},{(void*)0,(void*)0,&l_1727,(void*)0,&l_1727,&l_1727,&l_1727,(void*)0,&l_1727},{&l_1727,&l_1727,&l_1727,(void*)0,(void*)0,&l_1727,&l_1727,&l_1727,&l_1727},{(void*)0,&l_1727,&l_1727,&l_1727,(void*)0,&l_1727,&l_1727,(void*)0,&l_1727},{&l_1727,(void*)0,&l_1727,&l_1727,&l_1727,&l_1727,&l_1727,&l_1727,&l_1727}}};
        uint8_t l_1729[7];
        int32_t l_1780 = 0L;
        int32_t l_1833 = 0xB64F62AAL;
        int8_t l_1834 = (-2L);
        int32_t l_1835[10][3] = {{(-9L),(-9L),(-9L)},{1L,1L,1L},{(-9L),(-9L),(-9L)},{1L,1L,1L},{(-9L),(-9L),(-9L)},{1L,1L,1L},{(-9L),(-9L),(-9L)},{1L,1L,1L},{(-9L),(-9L),(-9L)},{1L,1L,1L}};
        uint64_t *l_1881 = &l_1709.f0;
        struct S0 l_1973 = {1UL};
        uint32_t l_2002 = 0x3AB41345L;
        struct S1 ** const *l_2016 = (void*)0;
        struct S1 ** const **l_2015 = &l_2016;
        uint32_t **l_2081 = &g_502;
        uint16_t **l_2118 = &g_1557;
        int32_t *l_2155 = &g_82;
        uint8_t *l_2171 = &g_218;
        uint8_t * const *l_2170[7][7] = {{&l_2171,(void*)0,&l_2171,(void*)0,&l_2171,&l_2171,&l_2171},{&l_2171,&l_2171,&l_2171,&l_2171,&l_2171,&l_2171,&l_2171},{&l_2171,&l_2171,&l_2171,&l_2171,&l_2171,&l_2171,&l_2171},{&l_2171,&l_2171,(void*)0,(void*)0,(void*)0,(void*)0,(void*)0},{&l_2171,&l_2171,&l_2171,&l_2171,&l_2171,&l_2171,&l_2171},{&l_2171,(void*)0,&l_2171,&l_2171,(void*)0,&l_2171,&l_2171},{(void*)0,&l_2171,&l_2171,&l_2171,&l_2171,&l_2171,&l_2171}};
        uint8_t * const **l_2169 = &l_2170[2][3];
        uint32_t l_2285 = 0UL;
        int16_t *l_2333 = &g_86;
        int16_t *l_2334[8][9] = {{&g_86,&g_22,&g_22,&g_22,&g_86,&g_86,&g_86,&g_22,&g_86},{&g_22,&g_22,&g_86,&g_22,&g_86,&g_86,&g_22,&g_86,&g_86},{&g_86,(void*)0,(void*)0,&g_86,&g_86,&g_86,&g_22,&g_86,&g_86},{(void*)0,&g_22,&g_86,&g_86,&g_22,&g_86,&g_86,&g_22,&g_86},{&g_86,&g_86,&g_86,(void*)0,(void*)0,&g_22,&g_86,&g_86,&g_22},{&g_22,(void*)0,&g_22,&g_22,&g_86,&g_86,&g_86,&g_22,&g_22},{&g_22,&g_22,&g_86,(void*)0,&g_86,&g_86,(void*)0,&g_22,&g_86},{&g_22,&g_22,&g_86,&g_86,&g_86,&g_86,&g_86,&g_86,&g_22}};
        int32_t *****l_2365 = &g_1758;
        int16_t **l_2406 = &g_2403[2];
        int16_t ***l_2405 = &l_2406;
        const struct S0 **l_2409 = (void*)0;
        const struct S0 *l_2411 = &g_2412;
        const struct S0 **l_2410 = &l_2411;
        uint32_t l_2413 = 0xACC6270CL;
        int i, j, k;
        for (i = 0; i < 7; i++)
            l_1729[i] = 0x53L;
    }
    (*l_2416) = &g_2403[8];
    return l_2417;
}


/* ------------------------------------------ */
/* 
 * reads :
 * writes:
 */
static int32_t * func_33(uint8_t  p_34, struct S0  p_35, uint32_t  p_36, uint16_t  p_37)
{ /* block id: 811 */
    uint64_t l_1687[4][2];
    int32_t **l_1689 = &g_81;
    int32_t ***l_1688 = &l_1689;
    int32_t ****l_1690[9] = {&l_1688,&l_1688,&l_1688,&l_1688,&l_1688,&l_1688,&l_1688,&l_1688,&l_1688};
    int32_t *****l_1695 = &l_1690[0];
    uint8_t *l_1696 = &g_871.f3;
    int32_t *l_1699 = &g_2[2][2];
    struct S0 l_1700 = {0x66BD5CF56933F040LL};
    int i, j;
    for (i = 0; i < 4; i++)
    {
        for (j = 0; j < 2; j++)
            l_1687[i][j] = 0xC83DCFFA99E42F82LL;
    }
    l_1700 = l_1700;
    return l_1699;
}


/* ------------------------------------------ */
/* 
 * reads : g_165 g_1101 g_1423 g_870 g_1197 g_871.f3 g_1601 g_1546 g_597 g_152.f0 g_1657 g_163.f0 g_572.f0 g_216 g_1274 g_409 g_1666 g_882 g_883 g_727 g_17 g_471 g_257 g_949.f0
 * writes: g_165 g_1102 g_163.f0 g_1197 g_871.f3 g_152.f0 g_216 g_1274 g_409 g_22 g_949.f0
 */
static uint32_t  func_39(int32_t * p_40, int32_t * p_41)
{ /* block id: 766 */
    int32_t l_1618 = 0x586738C2L;
    int32_t *l_1619 = &g_949.f0;
    int32_t *l_1620 = &g_572.f0;
    int32_t *l_1621 = &g_163.f0;
    int32_t *l_1622 = &g_163.f0;
    int32_t *l_1623 = &g_15;
    int32_t *l_1624[4];
    int8_t l_1625[2][8][7] = {{{(-10L),0x2BL,0L,5L,0L,0x2BL,(-10L)},{(-1L),3L,0xC8L,0x89L,0xE1L,(-1L),0x89L},{0x5EL,1L,3L,0xC4L,0xC4L,3L,1L},{3L,0x37L,0xC8L,(-1L),0x37L,0x89L,8L},{0xD9L,0xC4L,0L,0xD9L,1L,0xD9L,0L},{0xE1L,0xE1L,5L,(-1L),3L,(-6L),0xE1L},{(-10L),0L,9L,0xC4L,0x2BL,0x2BL,0xC4L},{0xDBL,8L,0xDBL,0x89L,3L,0xDBL,0x37L}},{{0xC4L,1L,0x0DL,5L,1L,0xC8L,1L},{0xF0L,0x89L,0x89L,0xF0L,0x37L,0xDBL,3L},{0x2BL,(-10L),0L,9L,0xC4L,0x2BL,0x2BL},{0xE1L,3L,(-1L),3L,0xE1L,(-6L),3L},{0x5EL,0L,0xD9L,0xC4L,0L,0xD9L,1L},{0x89L,8L,0xC8L,0xC8L,8L,0x89L,0x37L},{0x5EL,0xC4L,0xC8L,0x5EL,1L,3L,0xC4L},{0xE1L,(-1L),0x89L,(-1L),0x89L,(-1L),0xE1L}}};
    uint32_t l_1626[7][7] = {{0x5F373580L,0x26C25F07L,0x5F373580L,0xEB291547L,0x63776FDAL,0xEB291547L,0x5F373580L},{0UL,0UL,0x808549BCL,0x3BAB25C6L,0UL,18446744073709551614UL,0x3BAB25C6L},{0UL,0xEB291547L,8UL,0x26C25F07L,8UL,0xEB291547L,0UL},{0x8ED079A8L,0x3BAB25C6L,3UL,0x8ED079A8L,0UL,3UL,3UL},{0x63776FDAL,0xEB291547L,0x63776FDAL,0xEB291547L,0x5F373580L,0x26C25F07L,0x5F373580L},{0x8ED079A8L,18446744073709551614UL,0x808549BCL,3UL,18446744073709551614UL,18446744073709551614UL,3UL},{0UL,0xEB291547L,0UL,18446744073709551614UL,8UL,18446744073709551614UL,0UL}};
    struct S1 *l_1629 = &g_949;
    int32_t l_1633 = (-1L);
    const union U2 *l_1634 = &g_29;
    struct S1 **l_1638 = &g_167[1][1][7];
    struct S1 ***l_1637 = &l_1638;
    struct S0 l_1678 = {0x783A4E29722FDB80LL};
    int64_t *l_1682[3][4][5] = {{{(void*)0,(void*)0,(void*)0,(void*)0,(void*)0},{&g_1265[4],&g_1265[4],&g_1265[4],&g_1265[4],&g_1265[4]},{(void*)0,(void*)0,(void*)0,(void*)0,(void*)0},{&g_1265[4],&g_1265[4],&g_1265[4],&g_1265[4],&g_1265[4]}},{{(void*)0,(void*)0,(void*)0,(void*)0,(void*)0},{&g_1265[4],&g_1265[4],&g_1265[4],&g_1265[4],&g_1265[4]},{(void*)0,(void*)0,(void*)0,(void*)0,(void*)0},{&g_1265[4],&g_1265[4],&g_1265[4],&g_1265[4],&g_1265[4]}},{{(void*)0,(void*)0,(void*)0,(void*)0,(void*)0},{&g_1265[4],&g_1265[4],&g_1265[4],&g_1265[4],&g_1265[4]},{(void*)0,(void*)0,(void*)0,(void*)0,(void*)0},{&g_1265[4],&g_1265[4],&g_1265[4],&g_1265[4],&g_1265[4]}}};
    int i, j, k;
    for (i = 0; i < 4; i++)
        l_1624[i] = &g_15;
    l_1626[6][1]--;
    for (g_165 = 1; (g_165 <= 4); g_165 += 1)
    { /* block id: 770 */
        uint8_t l_1630 = 0xA2L;
        const union U2 **l_1635 = &l_1634;
        int32_t l_1655[5];
        int i;
        for (i = 0; i < 5; i++)
            l_1655[i] = (-1L);
        if ((*p_41))
            break;
        (*g_1101) = l_1629;
        (*l_1622) = (l_1630 ^ (safe_mod_func_uint64_t_u_u((l_1633 & (((*l_1635) = l_1634) == (*g_1423))), 0x177D6372124BC581LL)));
        for (g_1197 = 3; (g_1197 >= 0); g_1197 -= 1)
        { /* block id: 777 */
            int32_t * const *l_1656 = &g_81;
            const int32_t l_1658[10][4][4] = {{{1L,0xA828CFE4L,0x03942C14L,0x0EFFBC5CL},{0x7E038777L,0x52B57C0BL,(-3L),0x03942C14L},{(-1L),0xD6A124B2L,(-1L),1L},{(-1L),1L,0xAC4B2C4BL,(-4L)}},{{0x52B57C0BL,0xAC4B2C4BL,0xAA3CF50AL,(-3L)},{1L,0L,0x675F7AC3L,0x675F7AC3L},{0x7E038777L,0x7E038777L,(-2L),0xF5CFDF70L},{(-4L),0xA828CFE4L,0x1FC19BD7L,1L}},{{(-1L),(-5L),(-3L),0x1FC19BD7L},{0x6F6755C0L,(-5L),0xAA3CF50AL,1L},{(-5L),0xA828CFE4L,0x4A089586L,0xF5CFDF70L},{0x52B57C0BL,0x7E038777L,(-5L),0x675F7AC3L}},{{(-1L),0L,0xE2B25E8DL,(-3L)},{(-1L),0xAC4B2C4BL,(-2L),(-4L)},{(-8L),1L,0x03942C14L,1L},{0xAC4B2C4BL,0xD6A124B2L,0x675F7AC3L,0x03942C14L}},{{0x6F6755C0L,0x52B57C0BL,(-5L),0x0EFFBC5CL},{(-1L),0xA828CFE4L,(-1L),1L},{(-1L),0xAC4B2C4BL,(-5L),0xE2B25E8DL},{0x6F6755C0L,1L,0x675F7AC3L,(-3L)}},{{0xAC4B2C4BL,4L,0x03942C14L,0xF5CFDF70L},{(-8L),0x6F6755C0L,(-2L),0x0EFFBC5CL},{(-1L),0xD6A124B2L,0xE2B25E8DL,(-2L)},{(-1L),(-5L),(-5L),(-1L)}},{{0x52B57C0BL,1L,0x4A089586L,1L},{(-5L),4L,0xAA3CF50AL,0x675F7AC3L},{0x6F6755C0L,(-8L),(-3L),0x675F7AC3L},{(-1L),4L,0x1FC19BD7L,0xE2B25E8DL}},{{0x675F7AC3L,(-1L),(-1L),0xAA3CF50AL},{2L,(-4L),0xEE9C756CL,(-1L)},{(-1L),(-8L),0L,0xD6A124B2L},{1L,(-5L),0x99465157L,7L}},{{0xF5CFDF70L,0xFD88467BL,0xF5CFDF70L,0x1FC19BD7L},{0xAA3CF50AL,0xE2B25E8DL,0x1FC19BD7L,0x03942C14L},{2L,0x99465157L,4L,0xE2B25E8DL},{0xE2B25E8DL,0x52B57C0BL,4L,0xD6A124B2L}},{{2L,1L,0x1FC19BD7L,4L},{0xAA3CF50AL,(-8L),0xF5CFDF70L,(-1L)},{0xF5CFDF70L,(-1L),0x99465157L,0x675F7AC3L},{1L,0x99465157L,0L,0x1FC19BD7L}}};
            int32_t l_1660[9][7] = {{0xD81B9A1CL,1L,(-9L),0xDF2D9F1DL,0xE41B1B7CL,0xD81B9A1CL,4L},{0xC17D63DAL,0x6B932F0FL,0xD81B9A1CL,0x8F2BCC36L,4L,0x8F2BCC36L,0xD81B9A1CL},{0L,0L,0xD81B9A1CL,0x9A17E9F6L,7L,1L,0xD657827DL},{0x5AA74DB6L,8L,(-9L),7L,0L,0L,0x6B932F0FL},{0L,0xE41B1B7CL,0x8F2BCC36L,8L,7L,0x731CA974L,0xE41B1B7CL},{0xD81B9A1CL,4L,0L,0L,4L,0xD81B9A1CL,0xE41B1B7CL},{0x731CA974L,7L,8L,0x8F2BCC36L,0xE41B1B7CL,0L,0x6B932F0FL},{0L,0L,7L,(-9L),8L,0x5AA74DB6L,0xD657827DL},{1L,7L,0x9A17E9F6L,0xD81B9A1CL,0L,0L,0xD81B9A1CL}};
            uint32_t l_1661[3][6][2] = {{{4294967286UL,0x7A964A8AL},{4294967286UL,0x7A964A8AL},{4294967286UL,0x7A964A8AL},{4294967286UL,0x7A964A8AL},{4294967286UL,0x7A964A8AL},{4294967286UL,0x7A964A8AL}},{{4294967286UL,0x7A964A8AL},{4294967286UL,0x7A964A8AL},{4294967286UL,0x7A964A8AL},{4294967286UL,0x7A964A8AL},{4294967286UL,0x7A964A8AL},{4294967286UL,0x7A964A8AL}},{{4294967286UL,0x7A964A8AL},{4294967286UL,0x7A964A8AL},{4294967286UL,0x7A964A8AL},{4294967286UL,0x7A964A8AL},{4294967286UL,0x7A964A8AL},{4294967286UL,0x7A964A8AL}}};
            int i, j, k;
            for (g_871.f3 = 0; (g_871.f3 <= 4); g_871.f3 += 1)
            { /* block id: 780 */
                int8_t *l_1641 = &g_1440[2].f1;
                int32_t l_1659 = 0xD4A5999EL;
                int i, j, k;
                if ((g_1601[g_871.f3][g_1197] , (!(l_1637 != (((safe_div_func_int8_t_s_s((((l_1641 = &g_257) != &l_1625[1][2][6]) >= g_1601[g_165][(g_1197 + 4)]), (safe_mul_func_uint8_t_u_u((+g_1546[g_871.f3][(g_871.f3 + 3)][g_1197]), (safe_sub_func_uint16_t_u_u(((safe_sub_func_int8_t_s_s((((*g_597)--) ^ 0x7B5780FD3994C40FLL), (safe_sub_func_uint16_t_u_u((safe_mul_func_uint8_t_u_u((((l_1655[0] = g_1546[g_871.f3][(g_871.f3 + 3)][g_1197]) & ((l_1656 == (void*)0) && l_1630)) >= g_1657), (*l_1621))), (*l_1620))))) | l_1658[2][1][1]), l_1630)))))) && g_1601[g_165][(g_1197 + 4)]) , &g_1101)))))
                { /* block id: 784 */
                    return (*l_1621);
                }
                else
                { /* block id: 786 */
                    for (g_216 = 0; (g_216 <= 4); g_216 += 1)
                    { /* block id: 789 */
                        --l_1661[1][5][1];
                    }
                }
                if ((*l_1622))
                    break;
                for (g_1274 = 1; (g_1274 <= 4); g_1274 += 1)
                { /* block id: 796 */
                    return l_1660[7][3];
                }
            }
        }
    }
    for (g_409 = 0; (g_409 == 28); ++g_409)
    { /* block id: 804 */
        const uint64_t *l_1671 = &g_777.f0;
        const uint64_t **l_1670 = &l_1671;
        const uint64_t ***l_1669[2][3] = {{&l_1670,&l_1670,&l_1670},{&l_1670,&l_1670,&l_1670}};
        int32_t l_1680 = 8L;
        union U2 **l_1681 = (void*)0;
        int16_t *l_1683 = &g_22;
        int i, j;
        if (g_1666)
            break;
        (*l_1619) |= (safe_div_func_int8_t_s_s((((*l_1622) & ((l_1669[1][0] != (void*)0) > (*g_882))) >= (safe_mod_func_uint64_t_u_u(((*g_597) ^= 8UL), (safe_mod_func_int8_t_s_s((safe_mod_func_int16_t_s_s(((*l_1683) = (((l_1678 , ((((~l_1680) && (l_1681 != &l_1634)) >= 4L) | (*g_727))) , l_1682[1][2][0]) != l_1671)), l_1680)), 0xCAL))))), (*g_471)));
    }
    return (*l_1619);
}


/* ------------------------------------------ */
/* 
 * reads : g_1283 g_1028.f0 g_471 g_257 g_572.f4 g_875 g_152 g_218 g_393 g_727 g_17 g_22 g_216 g_882 g_883 g_502 g_409 g_1197 g_163.f4 g_1358 g_414 g_777.f0 g_1168.f6 g_518 g_519 g_520 g_521 g_597 g_470 g_1423 g_1440 g_163.f6 g_1168.f1 g_1032 g_1365 g_358.f4 g_21 g_1265 g_1504 g_572.f6 g_124 g_949.f4 g_1546 g_86 g_1555 g_1572 g_312.f9 g_143 g_79
 * writes: g_871.f0 g_1265 g_257 g_871.f1 g_143 g_1028.f0 g_216 g_124 g_218 g_22 g_846 g_409 g_1274 g_1067 g_17 g_1365 g_777.f0 g_415 g_141 g_79 g_521 g_152.f0 g_870 g_163.f0 g_871.f3 g_1358 g_500 g_777 g_86 g_1552 g_781 g_1596
 */
static int32_t  func_42(struct S0  p_43, uint8_t  p_44, int32_t * p_45)
{ /* block id: 569 */
    int32_t l_1279[8] = {0x381BAE2DL,(-10L),(-10L),0x381BAE2DL,(-10L),(-10L),0x381BAE2DL,(-10L)};
    struct S1 **l_1281 = &g_167[0][6][2];
    struct S1 ***l_1280 = &l_1281;
    struct S1 ****l_1282 = &l_1280;
    uint64_t l_1284 = 0xA92BFDF17819940CLL;
    int8_t *l_1293 = &g_871.f1;
    int32_t l_1296 = 0xA4CFDB53L;
    int32_t l_1300[9][10] = {{(-1L),(-8L),0x36A50524L,(-8L),(-1L),0x5FBF105DL,(-1L),(-8L),0x36A50524L,(-8L)},{(-5L),0L,(-3L),(-8L),(-3L),0L,(-5L),0L,(-3L),(-8L)},{0xC4AD2100L,(-8L),0xC4AD2100L,0L,(-1L),0L,0xC4AD2100L,(-8L),0x36A50524L,0x5FBF105DL},{(-3L),0L,(-5L),0L,(-3L),(-8L),(-3L),0L,(-5L),0L},{0xC4AD2100L,0x5FBF105DL,0x36A50524L,0L,0x36A50524L,0x5FBF105DL,0xC4AD2100L,0x5FBF105DL,0x36A50524L,0L},{0L,0L,0L,0x5FBF105DL,(-3L),0x5FBF105DL,0L,0L,0L,0x5FBF105DL},{0xC4AD2100L,0L,(-1L),0L,0xC4AD2100L,(-8L),0xC4AD2100L,0L,(-1L),0L},{(-3L),0x5FBF105DL,0L,0L,0L,0x5FBF105DL,(-3L),0x5FBF105DL,0L,0L},{0x36A50524L,0L,0x36A50524L,0x5FBF105DL,0xC4AD2100L,0x5FBF105DL,0x36A50524L,0L,0x36A50524L,0x5FBF105DL}};
    int32_t l_1308[7][5][7] = {{{0xE40337BBL,0L,0x65D24EF2L,0xA6C7AC65L,0xA6C7AC65L,0x65D24EF2L,0L},{(-1L),(-8L),0xEAB4AB3AL,(-2L),0L,(-1L),0xA6C7AC65L},{(-8L),(-2L),(-2L),0x4C5961ECL,1L,0L,0x152868AFL},{8L,(-1L),0x13E3F8E1L,(-2L),0x441913BAL,0L,0xC4C6675AL},{0x1C24EA70L,0x152868AFL,(-8L),0xA6C7AC65L,0L,(-8L),0xA46C0273L}},{{(-2L),0xE40337BBL,0x152868AFL,(-2L),1L,1L,4L},{0x441913BAL,(-1L),6L,8L,(-1L),(-1L),0x98FE00DDL},{0x98FE00DDL,(-4L),0x9EBE3708L,0x54139AE7L,0x72BC639DL,0x34C26843L,0x8A59B44DL},{0x776001BEL,0L,(-1L),0x0139A868L,0x54139AE7L,0xEAB4AB3AL,0L},{0xC4C6675AL,0L,0x68E8FF83L,0x7EBF8211L,0x54139AE7L,6L,0xC4C6675AL}},{{0x8A59B44DL,(-1L),0L,0xA0757B1CL,0x72BC639DL,0L,0xE40337BBL},{0x0139A868L,1L,0L,0L,(-1L),0x152868AFL,0L},{(-2L),6L,0x8856F1AAL,0L,1L,0x902FB455L,0L},{0xF2149EE6L,0x0139A868L,(-1L),(-1L),0L,0L,(-1L)},{(-1L),7L,(-1L),(-1L),0x441913BAL,4L,0x34C26843L}},{{(-2L),0xF8403573L,0xED3C0B58L,0xA46C0273L,1L,6L,(-10L)},{1L,0xAE76E116L,0x8199CB21L,0x98FE00DDL,0L,4L,0x89D7A867L},{4L,0x1C24EA70L,0x152868AFL,(-8L),0xA6C7AC65L,0L,(-8L)},{0xC4C6675AL,0x090E95C6L,0x468B70DCL,(-1L),(-8L),1L,(-1L)},{0x8199CB21L,1L,1L,0x72BC639DL,0xE0FD0A8AL,0L,0L}},{{0xB44033E4L,0L,0xFD107CEEL,0xE2B62A30L,0L,0x58678F82L,0xED3C0B58L},{0L,0x0139A868L,0xA46C0273L,0x9EBE3708L,0x34C26843L,(-2L),0L},{0x152868AFL,0x468B70DCL,0xA7FDC9BFL,0L,1L,0x20648408L,0L},{1L,(-1L),0xB44033E4L,0xDADEB570L,0L,(-1L),0xED3C0B58L},{(-5L),(-1L),1L,0x0139A868L,0xAE76E116L,0L,0L}},{{0L,(-1L),(-6L),0L,0xA7FDC9BFL,(-3L),(-1L)},{(-6L),(-2L),6L,0xA7FDC9BFL,(-8L),0xDADEB570L,0xDADEB570L},{0x34C26843L,0L,0L,0L,0x34C26843L,8L,0xAE76E116L},{(-2L),0xED3C0B58L,(-6L),4L,0x902FB455L,6L,0x8199CB21L},{0x468B70DCL,0xB4BBA123L,0x58678F82L,0xBF07EC61L,0xEAB4AB3AL,0xED3C0B58L,(-1L)}},{{(-2L),4L,0x1C24EA70L,0x152868AFL,(-8L),0xA6C7AC65L,0L},{0x34C26843L,(-7L),0xA7FDC9BFL,0L,0x58678F82L,0xA7FDC9BFL,(-4L)},{(-6L),0L,0x20648408L,0x65D24EF2L,0x0139A868L,0xED3C0B58L,0x58678F82L},{0L,7L,0xE40337BBL,1L,0L,0x98FE00DDL,0x34C26843L},{(-5L),0x20648408L,1L,7L,6L,2L,0x0139A868L}}};
    uint64_t l_1309[10][8][3] = {{{0x67327B6C34E5AB01LL,0x16B1927CD5AAB437LL,18446744073709551606UL},{0UL,1UL,1UL},{0x67327B6C34E5AB01LL,0x93DB9FC24472FCD6LL,0x67327B6C34E5AB01LL},{0UL,0UL,18446744073709551610UL},{0x67327B6C34E5AB01LL,0x543BF74FF6789950LL,1UL},{0UL,18446744073709551610UL,0UL},{0x67327B6C34E5AB01LL,0x16B1927CD5AAB437LL,18446744073709551606UL},{0UL,1UL,1UL}},{{0x67327B6C34E5AB01LL,0x93DB9FC24472FCD6LL,0x67327B6C34E5AB01LL},{0UL,0UL,18446744073709551610UL},{0x67327B6C34E5AB01LL,0x543BF74FF6789950LL,1UL},{0UL,18446744073709551610UL,0UL},{0x67327B6C34E5AB01LL,0x16B1927CD5AAB437LL,18446744073709551606UL},{0UL,1UL,1UL},{0x67327B6C34E5AB01LL,0x93DB9FC24472FCD6LL,0x67327B6C34E5AB01LL},{0UL,0UL,18446744073709551610UL}},{{0x67327B6C34E5AB01LL,0x543BF74FF6789950LL,1UL},{0UL,18446744073709551610UL,0UL},{0x67327B6C34E5AB01LL,0x16B1927CD5AAB437LL,18446744073709551606UL},{0UL,1UL,1UL},{0x67327B6C34E5AB01LL,0x93DB9FC24472FCD6LL,0x67327B6C34E5AB01LL},{0UL,0UL,18446744073709551610UL},{0x67327B6C34E5AB01LL,0x543BF74FF6789950LL,1UL},{0UL,18446744073709551610UL,0UL}},{{0x67327B6C34E5AB01LL,0x16B1927CD5AAB437LL,18446744073709551606UL},{0xCD7D155235E31578LL,0UL,1UL},{0UL,18446744073709551606UL,0UL},{0xCD7D155235E31578LL,1UL,1UL},{0UL,1UL,0x97BAC7BDAF028184LL},{0xCD7D155235E31578LL,0x5021552F9E19B730LL,0xCD7D155235E31578LL},{0UL,0x67327B6C34E5AB01LL,1UL},{0xCD7D155235E31578LL,0UL,1UL}},{{0UL,18446744073709551606UL,0UL},{0xCD7D155235E31578LL,1UL,1UL},{0UL,1UL,0x97BAC7BDAF028184LL},{0xCD7D155235E31578LL,0x5021552F9E19B730LL,0xCD7D155235E31578LL},{0UL,0x67327B6C34E5AB01LL,1UL},{0xCD7D155235E31578LL,0UL,1UL},{0UL,18446744073709551606UL,0UL},{0xCD7D155235E31578LL,1UL,1UL}},{{0UL,1UL,0x97BAC7BDAF028184LL},{0xCD7D155235E31578LL,0x5021552F9E19B730LL,0xCD7D155235E31578LL},{0UL,0x67327B6C34E5AB01LL,1UL},{0xCD7D155235E31578LL,0UL,1UL},{0UL,18446744073709551606UL,0UL},{0xCD7D155235E31578LL,1UL,1UL},{0UL,1UL,0x97BAC7BDAF028184LL},{0xCD7D155235E31578LL,0x5021552F9E19B730LL,0xCD7D155235E31578LL}},{{0UL,0x67327B6C34E5AB01LL,1UL},{0xCD7D155235E31578LL,0UL,1UL},{0UL,18446744073709551606UL,0UL},{0xCD7D155235E31578LL,1UL,1UL},{0UL,1UL,0x97BAC7BDAF028184LL},{0xCD7D155235E31578LL,0x5021552F9E19B730LL,0xCD7D155235E31578LL},{0UL,0x67327B6C34E5AB01LL,1UL},{0xCD7D155235E31578LL,0UL,1UL}},{{0UL,18446744073709551606UL,0UL},{0xCD7D155235E31578LL,1UL,1UL},{0UL,1UL,0x97BAC7BDAF028184LL},{0xCD7D155235E31578LL,0x5021552F9E19B730LL,0xCD7D155235E31578LL},{0UL,0x67327B6C34E5AB01LL,1UL},{0xCD7D155235E31578LL,0UL,1UL},{0UL,18446744073709551606UL,0UL},{0xCD7D155235E31578LL,1UL,1UL}},{{0UL,1UL,0x97BAC7BDAF028184LL},{0xCD7D155235E31578LL,0x5021552F9E19B730LL,0xCD7D155235E31578LL},{0UL,0x67327B6C34E5AB01LL,1UL},{0xCD7D155235E31578LL,0UL,1UL},{0UL,18446744073709551606UL,0UL},{0xCD7D155235E31578LL,1UL,1UL},{0UL,1UL,0x97BAC7BDAF028184LL},{0xCD7D155235E31578LL,0x5021552F9E19B730LL,0xCD7D155235E31578LL}},{{0UL,0x67327B6C34E5AB01LL,1UL},{0xCD7D155235E31578LL,0UL,1UL},{0UL,18446744073709551606UL,0UL},{0xCD7D155235E31578LL,1UL,1UL},{0UL,1UL,0x97BAC7BDAF028184LL},{0xCD7D155235E31578LL,0x5021552F9E19B730LL,0xCD7D155235E31578LL},{0UL,0x67327B6C34E5AB01LL,1UL},{0xCD7D155235E31578LL,0UL,1UL}}};
    uint32_t l_1398 = 4294967294UL;
    int32_t l_1402 = (-9L);
    struct S0 l_1445 = {18446744073709551615UL};
    const int32_t **l_1474 = (void*)0;
    const int16_t * const l_1535 = &g_86;
    uint64_t *** const * const *l_1551 = (void*)0;
    uint32_t l_1583 = 1UL;
    uint32_t l_1606 = 0x58FC5158L;
    uint32_t *l_1615 = &g_124;
    int i, j, k;
lbl_1370:
    for (g_871.f0 = 0; g_871.f0 < 8; g_871.f0 += 1)
    {
        g_1265[g_871.f0] = 6L;
    }
    if (((safe_mod_func_int16_t_s_s((((*l_1293) = (safe_mul_func_int8_t_s_s((l_1279[4] <= (((*l_1282) = l_1280) != (g_1283 , &l_1281))), (l_1284 < ((safe_mod_func_int64_t_s_s(((safe_sub_func_uint32_t_u_u((!(((+(0x78B3L > g_1028.f0)) <= (((safe_div_func_uint8_t_u_u(l_1279[6], ((*g_471) = (*g_471)))) > g_572.f4) <= p_44)) , (*p_45))), l_1284)) && 0x39841455L), p_44)) != p_43.f0))))) == 0x2BL), (-1L))) != l_1279[6]))
    { /* block id: 574 */
        int32_t l_1297[1];
        int32_t l_1303[8][5] = {{(-1L),(-1L),(-1L),(-1L),(-1L)},{(-1L),(-1L),(-1L),(-1L),(-1L)},{(-1L),(-1L),(-1L),(-1L),(-1L)},{(-1L),(-1L),(-1L),(-1L),(-1L)},{(-1L),(-1L),(-1L),(-1L),(-1L)},{(-1L),(-1L),(-1L),(-1L),(-1L)},{(-1L),(-1L),(-1L),(-1L),(-1L)},{(-1L),(-1L),(-1L),(-1L),(-1L)}};
        int8_t l_1307 = 0x28L;
        struct S0 l_1339[10][4][1] = {{{{0x4AFF079D374933D1LL}},{{1UL}},{{5UL}},{{1UL}}},{{{0x4AFF079D374933D1LL}},{{0x4AFF079D374933D1LL}},{{1UL}},{{5UL}}},{{{1UL}},{{0x4AFF079D374933D1LL}},{{0x4AFF079D374933D1LL}},{{1UL}}},{{{5UL}},{{1UL}},{{0x4AFF079D374933D1LL}},{{0x4AFF079D374933D1LL}}},{{{1UL}},{{5UL}},{{1UL}},{{0x4AFF079D374933D1LL}}},{{{0x4AFF079D374933D1LL}},{{1UL}},{{5UL}},{{1UL}}},{{{0x4AFF079D374933D1LL}},{{0x4AFF079D374933D1LL}},{{1UL}},{{5UL}}},{{{1UL}},{{0x4AFF079D374933D1LL}},{{0x4AFF079D374933D1LL}},{{1UL}}},{{{5UL}},{{1UL}},{{0x4AFF079D374933D1LL}},{{0x4AFF079D374933D1LL}}},{{{1UL}},{{5UL}},{{1UL}},{{0x4AFF079D374933D1LL}}}};
        uint64_t ****l_1361 = &g_1067[0];
        int i, j, k;
        for (i = 0; i < 1; i++)
            l_1297[i] = 0xB3FDA7AEL;
        for (g_143 = 16; (g_143 < 47); g_143++)
        { /* block id: 577 */
            int32_t *l_1298 = &g_1028.f0;
            int32_t *l_1299 = &l_1296;
            int32_t *l_1301 = &l_1300[4][8];
            int32_t *l_1302 = &l_1296;
            int32_t *l_1304 = &l_1300[0][4];
            int32_t *l_1305 = &g_1028.f0;
            int32_t *l_1306[5][3][4] = {{{(void*)0,&g_949.f0,&g_1028.f0,&l_1300[4][8]},{&g_572.f0,&l_1300[7][5],&l_1303[5][1],&g_1028.f0},{&g_1197,&l_1300[4][8],(void*)0,&g_1028.f0}},{{&g_949.f0,(void*)0,&g_949.f0,&l_1300[7][5]},{&g_1028.f0,(void*)0,(void*)0,(void*)0},{&g_1028.f0,&g_949.f0,&g_1197,(void*)0}},{{&g_949.f0,(void*)0,&g_1197,&l_1303[5][1]},{&g_1028.f0,&l_1300[4][8],(void*)0,&g_949.f0},{&g_1028.f0,&g_1197,&g_949.f0,&g_1028.f0}},{{&g_949.f0,&g_1028.f0,(void*)0,&l_1296},{&g_1197,&l_1303[5][1],&l_1303[5][1],&g_1197},{&g_572.f0,&g_572.f0,&g_1028.f0,&g_2[4][0]}},{{(void*)0,(void*)0,&g_1197,&g_1197},{&g_949.f0,&g_949.f0,&g_1028.f0,&g_1197},{(void*)0,(void*)0,(void*)0,&g_2[4][0]}}};
            int i, j, k;
            for (g_257 = 0; (g_257 <= 8); g_257 += 1)
            { /* block id: 580 */
                return (*p_45);
            }
            ++l_1309[0][7][0];
            return l_1303[7][0];
        }
        for (g_1028.f0 = 0; (g_1028.f0 <= 3); g_1028.f0 += 1)
        { /* block id: 588 */
            struct S0 l_1313[4] = {{0x3DA4F0F56DC197C9LL},{0x3DA4F0F56DC197C9LL},{0x3DA4F0F56DC197C9LL},{0x3DA4F0F56DC197C9LL}};
            int32_t l_1348 = 0xCBD019CCL;
            int64_t l_1368 = 0x6462598A453CA6C0LL;
            int i;
            for (g_216 = 0; (g_216 <= 1); g_216 += 1)
            { /* block id: 591 */
                struct S0 *l_1312[8][7][4] = {{{&g_777,&g_777,&g_777,&g_152},{&g_777,&g_777,(void*)0,&g_152},{&g_777,&g_777,&g_152,&g_777},{&g_152,&g_152,(void*)0,&g_777},{&g_777,&g_777,&g_777,&g_152},{&g_152,(void*)0,&g_777,&g_152},{&g_152,&g_152,&g_777,&g_777}},{{&g_152,&g_152,(void*)0,&g_777},{&g_152,&g_152,&g_777,&g_152},{&g_777,(void*)0,&g_777,&g_777},{&g_152,&g_777,&g_777,&g_152},{(void*)0,(void*)0,&g_152,&g_777},{&g_777,&g_152,&g_152,&g_777},{(void*)0,&g_777,&g_777,&g_777}},{{&g_152,&g_777,&g_777,&g_152},{&g_777,&g_152,&g_777,&g_152},{&g_152,&g_152,(void*)0,&g_777},{&g_152,&g_777,&g_777,&g_152},{&g_777,(void*)0,&g_777,(void*)0},{&g_777,&g_152,&g_152,&g_777},{&g_152,&g_777,&g_777,&g_152}},{{&g_777,&g_777,&g_152,&g_777},{&g_152,&g_152,&g_152,&g_777},{&g_777,&g_777,&g_777,&g_777},{&g_152,&g_152,&g_152,&g_777},{&g_777,&g_777,&g_152,&g_152},{&g_777,&g_777,(void*)0,&g_777},{&g_777,&g_152,&g_152,(void*)0}},{{&g_777,(void*)0,&g_152,&g_152},{&g_152,&g_777,(void*)0,&g_152},{&g_152,&g_777,&g_777,&g_152},{(void*)0,&g_152,&g_152,&g_152},{&g_152,&g_777,&g_152,&g_777},{&g_777,&g_777,&g_777,(void*)0},{&g_777,&g_152,&g_152,&g_152}},{{&g_777,&g_777,&g_777,&g_777},{&g_777,&g_152,&g_152,&g_777},{&g_152,&g_152,&g_152,&g_152},{(void*)0,&g_777,&g_777,&g_777},{&g_152,&g_152,(void*)0,&g_777},{&g_152,&g_152,&g_152,&g_777},{&g_777,&g_777,&g_152,&g_152}},{{&g_777,&g_152,(void*)0,(void*)0},{&g_777,&g_777,&g_152,&g_777},{&g_777,&g_777,&g_152,&g_777},{&g_152,&g_152,&g_777,&g_152},{&g_777,&g_152,&g_152,&g_777},{&g_152,&g_777,&g_152,&g_777},{&g_777,&g_777,&g_777,(void*)0}},{{&g_152,&g_152,&g_152,&g_152},{&g_777,&g_777,&g_777,&g_777},{&g_777,&g_152,(void*)0,&g_777},{&g_777,&g_152,&g_152,&g_777},{&g_777,&g_777,&g_777,&g_152},{&g_152,&g_152,&g_152,&g_777},{&g_777,&g_152,&g_152,&g_777}}};
                int32_t l_1343 = 4L;
                uint64_t ***l_1351 = &g_596[1][2][2];
                int i, j, k;
                l_1313[0] = (*g_875);
                for (g_124 = 0; (g_124 <= 3); g_124 += 1)
                { /* block id: 595 */
                    int8_t l_1345 = (-7L);
                    int32_t l_1369[9] = {0x4D13CE8EL,0x4D13CE8EL,0x4D13CE8EL,0x4D13CE8EL,0x4D13CE8EL,0x4D13CE8EL,0x4D13CE8EL,0x4D13CE8EL,0x4D13CE8EL};
                    int i;
                    for (g_218 = 0; (g_218 <= 0); g_218 += 1)
                    { /* block id: 598 */
                        int16_t *l_1329 = &g_22;
                        uint8_t *l_1344 = &g_1274;
                        uint16_t *l_1346 = (void*)0;
                        uint16_t *l_1347[8] = {(void*)0,&g_437,&g_437,(void*)0,&g_437,&g_437,(void*)0,&g_437};
                        uint64_t ****l_1349 = (void*)0;
                        uint64_t ****l_1350 = &g_1067[6];
                        int i, j, k;
                        g_846[(g_218 + 2)][g_216][(g_1028.f0 + 5)] = (((((g_22 = l_1297[g_218]) , ((*l_1293) = ((((((g_393[1][4] , ((safe_sub_func_uint32_t_u_u(l_1313[0].f0, l_1313[0].f0)) ^ ((safe_mod_func_int64_t_s_s((*g_727), 0xDDB7A17EB3C79D41LL)) > (safe_add_func_int32_t_s_s((*p_45), l_1313[0].f0))))) == (safe_lshift_func_int8_t_s_s((safe_add_func_uint8_t_u_u((~(safe_div_func_int16_t_s_s(((*l_1329) &= (safe_sub_func_uint64_t_u_u(p_44, p_44))), 65535UL))), p_43.f0)), (*g_471)))) < l_1313[0].f0) , (void*)0) == &g_596[6][3][2]) | 0xB666L))) ^ l_1313[0].f0) , 18446744073709551615UL) , (void*)0);
                        (*p_45) &= (l_1313[0].f0 != ((*g_882) >= (~((safe_mul_func_uint16_t_u_u((((((*g_502) ^= 0xE9440C9FL) && 3L) > (safe_rshift_func_uint8_t_u_s((safe_sub_func_int8_t_s_s(8L, (l_1339[6][2][0] , (p_44 == (((*l_1350) = (((((l_1303[7][4] ^= (safe_mod_func_uint16_t_u_u((l_1348 = (((p_44 , (((*l_1344) = (+((((l_1343 ^ 0x39L) , p_44) == p_43.f0) & p_43.f0))) || p_43.f0)) & l_1345) ^ (*g_727))), g_1197))) , p_44) , 0x54648365L) >= 0UL) , &g_596[5][5][3])) != l_1351))))), l_1339[6][2][0].f0))) >= 18446744073709551615UL), g_17)) >= g_163.f4))));
                        (*p_45) &= ((0x7AE2C642EF79642DLL < p_43.f0) , (safe_rshift_func_int64_t_s_s(((*g_727) |= p_44), ((p_43 , l_1300[4][8]) , (safe_mul_func_int32_t_s_s((l_1303[6][0] = ((safe_mod_func_int64_t_s_s(((*g_502) > (p_44 , p_43.f0)), (*g_882))) >= p_44)), g_1358))))));
                    }
                    p_43 = p_43;
                    for (g_218 = 0; (g_218 <= 1); g_218 += 1)
                    { /* block id: 616 */
                        uint64_t *****l_1362 = &l_1361;
                        uint64_t ****l_1364 = (void*)0;
                        uint64_t *****l_1363[2][4][2];
                        int i, j, k;
                        for (i = 0; i < 2; i++)
                        {
                            for (j = 0; j < 4; j++)
                            {
                                for (k = 0; k < 2; k++)
                                    l_1363[i][j][k] = &l_1364;
                            }
                        }
                        l_1369[5] ^= ((*p_45) >= (l_1343 = (safe_mod_func_uint64_t_u_u(((((*l_1362) = l_1361) == (g_1365 = &g_1067[0])) ^ (*p_45)), (((((safe_rshift_func_int16_t_s_s((-2L), 7)) && l_1368) | l_1303[0][3]) & p_44) , l_1284)))));
                        g_846[(g_218 + 1)][g_218][(g_216 + 5)] = p_45;
                        if (l_1343)
                            continue;
                    }
                }
            }
            if (g_257)
                goto lbl_1370;
            for (g_777.f0 = 0; (g_777.f0 <= 1); g_777.f0 += 1)
            { /* block id: 629 */
                l_1348 |= l_1313[0].f0;
                l_1300[4][8] &= ((safe_lshift_func_int16_t_s_s((-8L), (safe_unary_minus_func_uint64_t_u((safe_div_func_int8_t_s_s((l_1279[4] <= ((*g_502) = (safe_mod_func_uint64_t_u_u(p_43.f0, l_1308[1][1][2])))), 0x76L)))))) , l_1309[4][5][1]);
                for (g_218 = 0; (g_218 <= 1); g_218 += 1)
                { /* block id: 635 */
                    int32_t l_1378[2];
                    int32_t *l_1379 = &g_163.f0;
                    int32_t **l_1380 = &g_141[0];
                    int i, j, k;
                    for (i = 0; i < 2; i++)
                        l_1378[i] = 0x197192CBL;
                    l_1378[1] ^= (*p_45);
                    g_846[(g_777.f0 + 1)][g_218][(g_1028.f0 + 3)] = ((*l_1380) = (l_1379 = ((*g_414) = p_45)));
                }
            }
        }
    }
    else
    { /* block id: 644 */
        uint8_t l_1391[8][10][3] = {{{247UL,0UL,0x2FL},{0x6FL,0xAAL,0x67L},{1UL,0x43L,0xA9L},{0UL,0x67L,255UL},{1UL,0x2FL,1UL},{0UL,1UL,0x12L},{0x2FL,1UL,1UL},{0x32L,255UL,248UL},{0x6FL,0UL,0x2FL},{0x4BL,0x4BL,0x32L}},{{248UL,0xFAL,0x4BL},{0xAAL,0xE5L,0UL},{0x22L,0x67L,255UL},{1UL,0xAAL,0UL},{1UL,247UL,0x4BL},{0xC4L,255UL,0x32L},{0x71L,0x7FL,0x2FL},{247UL,0UL,248UL},{1UL,248UL,0x42L},{0UL,0x77L,0xFAL}},{{0UL,0UL,247UL},{1UL,0xCFL,0x43L},{247UL,1UL,1UL},{0x71L,0x2CL,0UL},{0xC4L,1UL,0xDDL},{1UL,0x12L,0x6DL},{1UL,255UL,0x22L},{0x22L,0x12L,0x7FL},{0xAAL,1UL,0x77L},{248UL,0x2CL,255UL}},{{0x4BL,1UL,0xC4L},{0x6FL,0xCFL,0x3CL},{0x32L,0UL,1UL},{255UL,0x77L,1UL},{0xE5L,248UL,0x3CL},{0x2CL,0UL,0xC4L},{255UL,0x7FL,255UL},{0x42L,255UL,0x77L},{1UL,247UL,0x7FL},{1UL,0xAAL,0x22L}},{{0xCFL,0x67L,0x6DL},{1UL,0xE5L,0xDDL},{1UL,0xFAL,0UL},{0x42L,0x4BL,1UL},{255UL,0UL,0x43L},{0x2CL,255UL,247UL},{0xE5L,0x3CL,0xFAL},{255UL,0x3CL,0x42L},{0x32L,255UL,248UL},{0x6FL,0UL,0x2FL}},{{0x4BL,0x4BL,0x32L},{248UL,0xFAL,0x4BL},{0xAAL,0xE5L,0UL},{0x22L,0x67L,255UL},{1UL,0xAAL,0UL},{1UL,247UL,0x4BL},{0xC4L,255UL,0x32L},{0x71L,0x7FL,0x2FL},{247UL,0UL,248UL},{1UL,248UL,0x42L}},{{0UL,0x77L,0xFAL},{0UL,0UL,247UL},{1UL,0xCFL,0x43L},{247UL,1UL,1UL},{0x71L,0x2CL,0UL},{0xC4L,1UL,0xDDL},{1UL,0x12L,0x6DL},{1UL,255UL,0x22L},{0x22L,0x12L,0x7FL},{0xAAL,1UL,0x77L}},{{248UL,0x2CL,0xAAL},{0x32L,247UL,0UL},{1UL,0x22L,0UL},{0x01L,255UL,0x42L},{0x43L,0x48L,0x42L},{0xCFL,0x2FL,0UL},{0x2FL,1UL,0UL},{0xAAL,248UL,0xAAL},{255UL,0x6DL,0x48L},{0x42L,1UL,248UL}}};
        int32_t l_1394 = 0xC661A720L;
        int i, j, k;
        for (g_79 = 0; (g_79 <= 0); g_79 += 1)
        { /* block id: 647 */
            uint16_t *l_1381[4];
            int32_t l_1382[5];
            int32_t l_1390 = 1L;
            int i;
            for (i = 0; i < 4; i++)
                l_1381[i] = &g_437;
            for (i = 0; i < 5; i++)
                l_1382[i] = 0x617FB017L;
            (*p_45) = ((l_1382[1] = p_43.f0) > (safe_mul_func_uint32_t_u_u((((*p_45) < (+(-5L))) && ((safe_lshift_func_uint64_t_u_s((safe_rshift_func_int8_t_s_s(((l_1390 | 0x5856871EL) == g_1168.f6), 0)), 36)) && (0x0227L <= (l_1391[2][7][2]--)))), (((4L ^ l_1394) , p_44) && p_44))));
            l_1296 |= (((*l_1293) = 0x45L) || (safe_unary_minus_func_uint8_t_u((safe_div_func_int8_t_s_s(0x45L, l_1398)))));
        }
        if (g_17)
            goto lbl_1370;
        return l_1391[3][9][0];
    }
    for (g_17 = 12; (g_17 == 23); g_17 = safe_add_func_uint32_t_u_u(g_17, 5))
    { /* block id: 659 */
        int32_t *l_1401[2][10][6] = {{{&g_1028.f0,&g_15,&g_1197,(void*)0,&g_572.f0,&g_949.f0},{&l_1300[4][8],(void*)0,&g_1197,(void*)0,(void*)0,(void*)0},{&g_1197,&l_1300[2][8],&g_1197,&g_1028.f0,&g_1028.f0,&g_949.f0},{&g_15,&g_1028.f0,&g_1197,&g_2[2][1],&g_572.f0,&g_2[2][1]},{&l_1300[8][5],&g_2[2][1],&g_572.f0,&g_2[2][1],&g_1197,&g_1028.f0},{&g_15,&g_949.f0,&g_1028.f0,&g_1028.f0,&g_1197,&l_1300[2][8]},{&g_1197,(void*)0,(void*)0,(void*)0,&g_1197,(void*)0},{&l_1300[4][8],&g_949.f0,&g_572.f0,(void*)0,&g_1197,&g_15},{&g_1028.f0,&g_2[2][1],&g_2[0][2],&g_949.f0,&g_572.f0,&g_15},{&g_15,&g_1028.f0,&g_572.f0,(void*)0,&g_1028.f0,(void*)0}},{{&g_572.f0,&l_1300[2][8],(void*)0,&g_15,(void*)0,&l_1300[2][8]},{&g_572.f0,(void*)0,&g_1028.f0,(void*)0,&g_572.f0,&g_1028.f0},{&g_15,&g_15,&g_572.f0,&g_949.f0,&g_2[0][2],&g_2[2][1]},{&g_1028.f0,&g_15,&g_1197,(void*)0,&g_572.f0,&g_949.f0},{&l_1300[4][8],(void*)0,&g_1197,(void*)0,(void*)0,(void*)0},{&g_1197,&l_1300[2][8],&g_1197,&g_1028.f0,&g_1028.f0,&g_949.f0},{&g_15,&g_1028.f0,&g_1197,&g_2[2][1],&g_572.f0,&g_2[2][1]},{&l_1300[8][5],&g_2[2][1],&g_572.f0,&g_2[2][1],&g_1197,&g_1028.f0},{&g_15,&g_949.f0,&g_1028.f0,&g_1028.f0,&g_1197,&l_1300[2][8]},{&g_1197,(void*)0,(void*)0,(void*)0,&g_1197,(void*)0}}};
        int32_t l_1403 = 0xF9D5CD36L;
        uint16_t l_1404 = 0xC99DL;
        struct S0 l_1444 = {0x01DCDFF00E8F87C6LL};
        uint64_t *l_1452 = &g_165;
        uint64_t l_1455[4];
        uint64_t ***l_1466 = &g_596[2][6][4];
        uint16_t l_1487 = 2UL;
        const uint64_t *****l_1488[1];
        uint32_t l_1509[1][2];
        uint32_t l_1542 = 8UL;
        const int32_t ** const *l_1590 = (void*)0;
        int32_t **l_1592[1];
        int32_t ***l_1591[1][3][6] = {{{&l_1592[0],&l_1592[0],&l_1592[0],&l_1592[0],&l_1592[0],&l_1592[0]},{&l_1592[0],&l_1592[0],&l_1592[0],&l_1592[0],&l_1592[0],&l_1592[0]},{&l_1592[0],&l_1592[0],&l_1592[0],&l_1592[0],&l_1592[0],&l_1592[0]}}};
        int i, j, k;
        for (i = 0; i < 4; i++)
            l_1455[i] = 0x36B1A1D448770A85LL;
        for (i = 0; i < 1; i++)
            l_1488[i] = (void*)0;
        for (i = 0; i < 1; i++)
        {
            for (j = 0; j < 2; j++)
                l_1509[i][j] = 0xF4F44352L;
        }
        for (i = 0; i < 1; i++)
            l_1592[i] = &g_81;
        l_1404--;
        for (l_1403 = (-20); (l_1403 <= (-1)); l_1403 = safe_add_func_uint16_t_u_u(l_1403, 4))
        { /* block id: 663 */
            int32_t l_1409 = 6L;
            uint8_t *l_1420 = &g_216;
            uint64_t *l_1453 = &g_79;
            uint64_t * const *l_1465 = (void*)0;
            uint64_t * const **l_1464[8][1][3] = {{{(void*)0,&l_1465,(void*)0}},{{&l_1465,&l_1465,(void*)0}},{{&l_1465,&l_1465,&l_1465}},{{(void*)0,(void*)0,(void*)0}},{{&l_1465,(void*)0,&l_1465}},{{&l_1465,(void*)0,&l_1465}},{{(void*)0,(void*)0,(void*)0}},{{&l_1465,&l_1465,&l_1465}}};
            uint64_t * const ***l_1496 = (void*)0;
            uint64_t * const *** const *l_1495 = &l_1496;
            int32_t *** const l_1505 = (void*)0;
            struct S0 l_1526 = {0x07004314B9FC7E25LL};
            int32_t l_1529 = (-1L);
            int i, j, k;
            (***g_518) = (***g_518);
            if ((l_1409 , ((safe_div_func_int64_t_s_s(0x0D2E98C09F34CDD7LL, (safe_div_func_uint8_t_u_u((((safe_div_func_int8_t_s_s((safe_add_func_uint32_t_u_u((p_43.f0 , l_1409), (*g_502))), ((*l_1420) = (g_1028.f0 ^ ((*p_45) < (safe_add_func_uint64_t_u_u(((*g_597) ^= l_1279[4]), ((-1L) ^ p_44)))))))) | (**g_470)) == 1L), 0x39L)))) , l_1409)))
            { /* block id: 667 */
                uint32_t l_1441 = 0x1C9C1C80L;
                const uint64_t *l_1493[8] = {&g_1494,&g_1494,&g_1494,&g_1494,&g_1494,&g_1494,&g_1494,&g_1494};
                const uint64_t **l_1492 = &l_1493[5];
                const uint64_t ***l_1491 = &l_1492;
                const uint64_t ****l_1490[2][8][7] = {{{&l_1491,(void*)0,&l_1491,&l_1491,&l_1491,&l_1491,&l_1491},{&l_1491,&l_1491,&l_1491,&l_1491,&l_1491,&l_1491,&l_1491},{&l_1491,&l_1491,(void*)0,&l_1491,&l_1491,&l_1491,(void*)0},{(void*)0,(void*)0,&l_1491,&l_1491,&l_1491,&l_1491,&l_1491},{&l_1491,&l_1491,&l_1491,&l_1491,&l_1491,(void*)0,&l_1491},{(void*)0,&l_1491,(void*)0,&l_1491,&l_1491,&l_1491,&l_1491},{&l_1491,(void*)0,(void*)0,&l_1491,(void*)0,(void*)0,&l_1491},{&l_1491,&l_1491,(void*)0,&l_1491,(void*)0,&l_1491,&l_1491}},{{&l_1491,&l_1491,&l_1491,(void*)0,&l_1491,&l_1491,(void*)0},{(void*)0,(void*)0,(void*)0,&l_1491,&l_1491,&l_1491,&l_1491},{(void*)0,&l_1491,(void*)0,&l_1491,&l_1491,(void*)0,&l_1491},{&l_1491,&l_1491,(void*)0,(void*)0,&l_1491,&l_1491,&l_1491},{&l_1491,(void*)0,&l_1491,(void*)0,&l_1491,&l_1491,&l_1491},{&l_1491,&l_1491,&l_1491,&l_1491,&l_1491,&l_1491,&l_1491},{(void*)0,(void*)0,(void*)0,&l_1491,(void*)0,(void*)0,&l_1491},{&l_1491,&l_1491,&l_1491,(void*)0,&l_1491,&l_1491,&l_1491}}};
                const uint64_t *****l_1489 = &l_1490[1][3][3];
                struct S0 *** const l_1497 = &g_780[0];
                int32_t ** const *l_1501 = &g_140;
                int64_t *l_1503 = &g_1265[3];
                struct S0 *l_1506 = (void*)0;
                struct S0 *l_1507 = &l_1445;
                struct S0 *l_1508 = &g_777;
                uint8_t *l_1510 = &g_871.f3;
                int i, j, k;
                (*g_1423) = &g_29;
                for (g_163.f0 = 0; g_163.f0 < 8; g_163.f0 += 1)
                {
                    for (g_871.f3 = 0; g_871.f3 < 4; g_871.f3 += 1)
                    {
                        for (g_1358 = 0; g_1358 < 8; g_1358 += 1)
                        {
                            g_500[g_163.f0][g_871.f3][g_1358] = &g_501[0];
                        }
                    }
                }
                for (l_1296 = 4; (l_1296 >= 0); l_1296 -= 1)
                { /* block id: 672 */
                    const struct S0 l_1424[3] = {{0xD428E4890EA230EALL},{0xD428E4890EA230EALL},{0xD428E4890EA230EALL}};
                    const int8_t *l_1432 = (void*)0;
                    const int8_t **l_1431 = &l_1432;
                    struct S0 *l_1450 = &l_1445;
                    uint16_t *l_1456[8];
                    int i;
                    for (i = 0; i < 8; i++)
                        l_1456[i] = &l_1404;
                    if ((l_1424[1] , ((*p_45) = (249UL == ((safe_add_func_uint16_t_u_u(((((*l_1420) = ((safe_div_func_int16_t_s_s((safe_sub_func_int32_t_s_s((*p_45), (((*l_1431) = &g_257) != l_1293))), ((safe_add_func_int8_t_s_s(((~l_1409) | ((safe_lshift_func_uint32_t_u_u(((((safe_mod_func_uint64_t_u_u((g_1440[2] , l_1409), 0x4892840AB40CB423LL)) & 65535UL) || g_163.f6) | 9L), 1)) == 0x6913L)), 0x30L)) , 0x2F93L))) , g_1168.f1)) | 6UL) , l_1398), 0xC0E8L)) == (*g_502))))))
                    { /* block id: 676 */
                        (*g_520) = p_45;
                    }
                    else
                    { /* block id: 678 */
                        --l_1441;
                        l_1445 = l_1444;
                        if ((*p_45))
                            break;
                    }
                    if (((p_43.f0 , 0xD8E5CC702067E191LL) == ((((((*g_597) | (!(~((g_143 = (safe_mul_func_int32_t_s_s((((*l_1450) = p_43) , (l_1455[1] ^= (~((&l_1309[3][4][0] == (l_1453 = l_1452)) <= (~l_1409))))), ((g_1032[0][0][0] , p_43.f0) > 0x71L)))) || p_43.f0)))) | 0x15A5D2D1L) >= 0x43D484CE94BEB346LL) & p_43.f0) < p_44)))
                    { /* block id: 687 */
                        l_1300[4][8] |= (-7L);
                        (*p_45) = (!((!(**g_470)) , (+(((safe_div_func_uint8_t_u_u((0xD504L <= (l_1464[2][0][1] != ((*g_1365) = l_1466))), (safe_add_func_int64_t_s_s((safe_unary_minus_func_uint32_t_u((l_1300[6][1] ^= 4294967295UL))), (safe_add_func_int16_t_s_s((safe_rshift_func_uint32_t_u_s(4294967292UL, (l_1474 == &l_1401[1][9][3]))), ((safe_add_func_uint64_t_u_u(((&l_1424[1] != (void*)0) && 0x9CL), (*g_882))) || g_358.f4))))))) | l_1441) ^ 0x7900B15CA9B86ADELL))));
                    }
                    else
                    { /* block id: 692 */
                        return (*p_45);
                    }
                    for (g_1028.f0 = 0; (g_1028.f0 != (-25)); g_1028.f0 = safe_sub_func_int16_t_s_s(g_1028.f0, 5))
                    { /* block id: 697 */
                        if ((*p_45))
                            break;
                    }
                }
                (*p_45) |= (safe_add_func_uint8_t_u_u(((*l_1510) = ((safe_sub_func_uint8_t_u_u(0x67L, (safe_add_func_uint16_t_u_u(((((safe_rshift_func_uint64_t_u_s(l_1487, ((l_1489 = l_1488[0]) == (l_1495 = l_1495)))) , ((*g_471) ^= (l_1497 != l_1497))) , ((*l_1508) = ((*l_1507) = ((((*l_1420) = (((safe_lshift_func_int32_t_s_s((+((g_21[2][1] , l_1501) == ((((((((((((*l_1503) |= (safe_unary_minus_func_int16_t_s(p_44))) , p_44) , 4294967287UL) == 0x8C291E60L) , g_1504) , 0xA02755A2L) > (*g_502)) | g_572.f6) > g_124) & p_44) , l_1505))), 20)) > (*g_502)) >= p_43.f0)) < (-4L)) , p_43)))) , p_44), g_949.f4)))) , l_1509[0][1])), g_949.f4));
            }
            else
            { /* block id: 710 */
                int32_t l_1516 = 1L;
                uint32_t l_1517 = 18446744073709551612UL;
                (*p_45) = (~((safe_mul_func_uint16_t_u_u(l_1516, l_1517)) != (((l_1516 < (safe_lshift_func_uint8_t_u_s(((*l_1420) = (safe_sub_func_int16_t_s_s((safe_add_func_int32_t_s_s((((safe_div_func_uint32_t_u_u((l_1529 = ((&p_45 == (**g_518)) | (l_1526 , ((safe_sub_func_int16_t_s_s(((*p_45) && (p_44 ^ (0xA6L & l_1279[4]))), l_1516)) , l_1516)))), 4294967295UL)) , (void*)0) != (void*)0), p_43.f0)), p_43.f0))), p_44))) < (**g_470)) && 0UL)));
                if (l_1517)
                    break;
            }
        }
        if ((*p_45))
            break;
        for (l_1398 = 0; (l_1398 >= 57); l_1398++)
        { /* block id: 720 */
            uint8_t l_1554 = 255UL;
            const int32_t ** const *l_1589[8];
            int32_t l_1597 = 0x19564FD2L;
            int32_t l_1598 = 0xC31A1283L;
            int32_t l_1599 = 0x36D07364L;
            int32_t l_1600 = 1L;
            int16_t l_1602 = 5L;
            int32_t l_1603 = 0L;
            int32_t l_1604 = 0x62F34DBEL;
            int32_t l_1605[9] = {0xC9B93E3DL,0xC9B93E3DL,0xC9B93E3DL,0xC9B93E3DL,0xC9B93E3DL,0xC9B93E3DL,0xC9B93E3DL,0xC9B93E3DL,0xC9B93E3DL};
            int i;
            for (i = 0; i < 8; i++)
                l_1589[i] = (void*)0;
            for (g_409 = 0; (g_409 <= 1); g_409 += 1)
            { /* block id: 723 */
                int8_t * const *l_1532[7][2] = {{&l_1293,&l_1293},{&g_471,&g_471},{&g_471,&l_1293},{&l_1293,(void*)0},{&l_1293,(void*)0},{&l_1293,&l_1293},{&g_471,&g_471}};
                int32_t l_1550 = 0x81F0B7B1L;
                uint16_t l_1569 = 0xEFBAL;
                struct S0 **l_1588 = &g_781[4];
                int i, j;
                l_1532[4][1] = &g_471;
                for (l_1403 = 1; (l_1403 >= 0); l_1403 -= 1)
                { /* block id: 727 */
                    uint8_t *l_1543 = &g_216;
                    int16_t *l_1547 = &g_86;
                    uint8_t l_1548 = 0x1AL;
                    int64_t *l_1549 = &g_1265[4];
                    if ((((((0xAF7444703DA7CEB2LL <= (safe_add_func_int8_t_s_s(p_44, (l_1535 == &g_22)))) <= ((safe_sub_func_uint64_t_u_u(p_43.f0, ((*l_1549) = (safe_rshift_func_uint16_t_u_s((safe_lshift_func_int16_t_s_u(((l_1542 | (++(*l_1543))) & (g_1546[0][8][3] != ((*l_1547) &= p_44))), 12)), l_1548))))) && g_17)) > p_44) == 0x20L) , l_1550))
                    { /* block id: 731 */
                        if (g_257)
                            goto lbl_1370;
                        g_1552 = l_1551;
                        if ((*p_45))
                            break;
                        if (l_1554)
                            break;
                    }
                    else
                    { /* block id: 736 */
                        uint16_t ** volatile * volatile l_1558 = &g_1556;/* VOLATILE GLOBAL l_1558 */
                        l_1558 = g_1555;
                        (*p_45) = 0xFF5B6E09L;
                    }
                    for (g_86 = 1; (g_86 >= 0); g_86 -= 1)
                    { /* block id: 742 */
                        int32_t l_1581[6];
                        uint32_t *l_1582 = &g_124;
                        int i, j, k;
                        for (i = 0; i < 6; i++)
                            l_1581[i] = 0x72523750L;
                        (*p_45) = (safe_lshift_func_uint32_t_u_u((((safe_rshift_func_int64_t_s_u((0xC3L && 0x53L), (safe_mul_func_int16_t_s_s((p_44 > (safe_sub_func_int32_t_s_s((safe_rshift_func_uint32_t_u_u(l_1569, 28)), (*p_45)))), (safe_mod_func_uint32_t_u_u((g_1572 , ((*g_471) >= (safe_lshift_func_uint16_t_u_u((((((*l_1582) = ((safe_mul_func_uint16_t_u_u((p_43.f0 | ((safe_div_func_uint8_t_u_u(((safe_div_func_int16_t_s_s((p_43.f0 & 1L), p_44)) < (*p_45)), (**g_470))) || l_1581[3])), p_43.f0)) & 0xA497C8E5L)) | l_1548) , (*l_1282)) == (void*)0), 6)))), (*p_45))))))) ^ (-6L)) || p_43.f0), l_1583));
                    }
                    if ((safe_rshift_func_int8_t_s_s(((((p_44 | p_44) | (((safe_lshift_func_int64_t_s_u(((&g_781[4] != l_1588) , 0x7118F8EE8419B672LL), (g_1504.f2 , (*g_597)))) , (p_43.f0 , ((l_1590 = l_1589[1]) == l_1591[0][1][3]))) != p_43.f0)) > (*p_45)) | p_44), 4)))
                    { /* block id: 747 */
                        struct S0 *l_1593 = &g_777;
                        (*l_1593) = l_1444;
                        (*l_1588) = l_1593;
                        (*p_45) = (safe_rshift_func_uint8_t_u_u((l_1551 != &g_1553), 7));
                        (*g_520) = p_45;
                    }
                    else
                    { /* block id: 752 */
                        (***g_518) = (g_1596 = p_45);
                    }
                }
            }
            ++l_1606;
            return (*p_45);
        }
    }
    (*p_45) = (0xE3B65AA7L == ((*g_502) <= ((safe_div_func_int32_t_s_s((((-1L) && g_312.f9) != (safe_mod_func_int16_t_s_s(l_1606, 0x6A10L))), (*p_45))) > (p_43.f0 != (safe_lshift_func_uint32_t_u_u((++(*l_1615)), p_43.f0))))));
    return (*p_45);
}


/* ------------------------------------------ */
/* 
 * reads : g_520 g_727 g_17
 * writes: g_521
 */
static int64_t  func_54(int8_t  p_55, uint64_t  p_56, struct S0  p_57, uint32_t  p_58)
{ /* block id: 559 */
    (*g_520) = (void*)0;
    for (p_58 = 0; (p_58 < 14); ++p_58)
    { /* block id: 563 */
        int16_t l_1272 = (-1L);
        if (p_55)
            break;
        if (l_1272)
            continue;
    }
    return (*g_727);
}


/* ------------------------------------------ */
/* 
 * reads : g_358 g_143 g_15 g_21 g_312.f0 g_163.f1 g_449 g_450 g_409 g_393.f7 g_165 g_2 g_470 g_216 g_124 g_471 g_257 g_79 g_163.f4 g_163.f7 g_152 g_393.f8 g_312.f8 g_86 g_572.f4 g_163.f0 g_510 g_393 g_163.f6 g_437 g_166 g_502 g_81 g_572.f0 g_312.f7 g_597 g_163.f5 g_752 g_777 g_727 g_17 g_780 g_22 g_520 g_519 g_845 g_521 g_875 g_518 g_508 g_509 g_882 g_95 g_888 g_312.f4 g_218 g_572.f5 g_82 g_167 g_883 g_312.f9 g_949.f6 g_949.f4 g_1028 g_1032 g_949.f3 g_1051 g_1052 g_136.f0 g_501 g_726 g_1168 g_538 g_414 g_1197 g_1213 g_163.f2 g_949.f0 g_1265
 * writes: g_143 g_437 g_449 g_81 g_124 g_501 g_507 g_517 g_510 g_409 g_163.f0 g_167 g_596 g_21 g_86 g_216 g_22 g_726 g_152 g_257 g_780 g_521 g_846 g_870 g_896 g_218 g_17 g_1051 g_1067 g_871.f3 g_1028.f0 g_871.f1 g_538 g_141 g_415 g_1197 g_1265
 */
static struct S0  func_61(uint32_t  p_62, const int16_t  p_63, uint64_t  p_64, int32_t * p_65, int32_t  p_66)
{ /* block id: 193 */
    const uint8_t * const l_417[2][5] = {{&g_218,&g_218,&g_218,&g_218,&g_218},{&g_218,&g_218,&g_218,&g_218,&g_218}};
    uint16_t *l_418 = &g_143;
    uint32_t l_432[10][4] = {{18446744073709551615UL,18446744073709551611UL,18446744073709551609UL,18446744073709551611UL},{18446744073709551611UL,1UL,0UL,0x9981EE30L},{0xEEAAE4F3L,18446744073709551615UL,0UL,0UL},{18446744073709551614UL,18446744073709551615UL,0xECB31FE9L,18446744073709551611UL},{18446744073709551614UL,0UL,0UL,18446744073709551614UL},{0xEEAAE4F3L,18446744073709551611UL,0UL,0UL},{18446744073709551611UL,18446744073709551615UL,18446744073709551609UL,0x9981EE30L},{18446744073709551615UL,0xEEAAE4F3L,0UL,0x9981EE30L},{1UL,18446744073709551615UL,1UL,0xECB31FE9L},{0UL,1UL,18446744073709551614UL,0UL}};
    uint8_t l_435[3][9] = {{0x78L,255UL,0x78L,255UL,0x78L,255UL,0x78L,255UL,0x78L},{246UL,246UL,246UL,246UL,246UL,246UL,246UL,246UL,246UL},{0x78L,255UL,0x78L,255UL,0x78L,255UL,0x78L,255UL,0x78L}};
    uint16_t *l_436 = &g_437;
    int8_t l_438 = 1L;
    uint32_t l_439 = 18446744073709551615UL;
    int16_t l_448[10];
    int32_t *l_451[4][1];
    int32_t *l_484 = &g_163.f0;
    int32_t *** const l_506 = &g_140;
    int32_t *** const *l_505 = &l_506;
    int32_t *** const **l_504 = &l_505;
    int32_t l_531 = 0x45ECBD3CL;
    int32_t l_533 = (-9L);
    int32_t l_537 = 0xBE480206L;
    int32_t l_540 = 0xF8721735L;
    int32_t l_541 = 0x35A82BCBL;
    int32_t l_542 = 0xD219D5F3L;
    int32_t l_543 = 0x0685FC34L;
    uint64_t l_547 = 18446744073709551612UL;
    uint64_t *l_595 = &l_547;
    uint64_t **l_594 = &l_595;
    int16_t l_624 = 9L;
    uint8_t l_653 = 0x35L;
    uint32_t l_670 = 18446744073709551613UL;
    struct S0 l_702[4] = {{0x38D0DA223586B724LL},{0x38D0DA223586B724LL},{0x38D0DA223586B724LL},{0x38D0DA223586B724LL}};
    uint32_t l_722[8];
    int64_t * const l_724[3][8][9] = {{{&g_17,&g_17,&g_17,&g_17,&g_17,&g_17,(void*)0,(void*)0,&g_17},{&g_17,&g_17,&g_17,&g_17,&g_17,(void*)0,(void*)0,&g_17,(void*)0},{&g_17,(void*)0,&g_17,&g_17,(void*)0,&g_17,(void*)0,&g_17,&g_17},{&g_17,&g_17,&g_17,&g_17,&g_17,&g_17,(void*)0,(void*)0,&g_17},{&g_17,&g_17,&g_17,&g_17,&g_17,(void*)0,(void*)0,&g_17,(void*)0},{&g_17,(void*)0,&g_17,&g_17,(void*)0,&g_17,(void*)0,&g_17,&g_17},{&g_17,&g_17,&g_17,&g_17,&g_17,&g_17,(void*)0,(void*)0,&g_17},{&g_17,&g_17,&g_17,&g_17,&g_17,(void*)0,(void*)0,&g_17,(void*)0}},{{&g_17,(void*)0,&g_17,&g_17,(void*)0,&g_17,(void*)0,&g_17,&g_17},{&g_17,&g_17,&g_17,&g_17,&g_17,&g_17,(void*)0,(void*)0,&g_17},{&g_17,&g_17,&g_17,&g_17,&g_17,(void*)0,(void*)0,&g_17,(void*)0},{&g_17,(void*)0,&g_17,&g_17,(void*)0,&g_17,(void*)0,&g_17,&g_17},{&g_17,&g_17,&g_17,&g_17,&g_17,&g_17,(void*)0,(void*)0,&g_17},{&g_17,&g_17,&g_17,&g_17,&g_17,(void*)0,(void*)0,&g_17,(void*)0},{&g_17,(void*)0,&g_17,&g_17,(void*)0,&g_17,(void*)0,&g_17,&g_17},{&g_17,&g_17,&g_17,&g_17,&g_17,&g_17,(void*)0,(void*)0,&g_17}},{{&g_17,&g_17,&g_17,&g_17,&g_17,(void*)0,(void*)0,&g_17,(void*)0},{&g_17,(void*)0,(void*)0,(void*)0,&g_17,&g_17,(void*)0,&g_17,(void*)0},{&g_17,&g_17,&g_17,(void*)0,&g_17,&g_17,(void*)0,&g_17,&g_17},{&g_17,&g_17,&g_17,(void*)0,&g_17,&g_17,(void*)0,&g_17,(void*)0},{&g_17,&g_17,(void*)0,(void*)0,&g_17,&g_17,(void*)0,&g_17,(void*)0},{&g_17,&g_17,&g_17,(void*)0,&g_17,&g_17,(void*)0,&g_17,&g_17},{&g_17,&g_17,&g_17,(void*)0,&g_17,&g_17,(void*)0,&g_17,(void*)0},{&g_17,&g_17,(void*)0,(void*)0,&g_17,&g_17,(void*)0,&g_17,(void*)0}}};
    int64_t * const *l_723 = &l_724[2][3][2];
    uint64_t l_747[4];
    uint8_t l_771 = 0xA2L;
    int32_t **** const l_895 = (void*)0;
    int32_t **** const *l_894 = &l_895;
    struct S1 *l_985[2];
    int64_t l_1031 = 1L;
    uint64_t ***l_1054 = &l_594;
    uint64_t ****l_1053 = &l_1054;
    uint32_t ***l_1077 = (void*)0;
    int16_t l_1088 = 0x5072L;
    uint32_t l_1089 = 0x714EC699L;
    const struct S1 **l_1104 = (void*)0;
    const uint32_t l_1111[8] = {0UL,0UL,0UL,0UL,0UL,0UL,0UL,0UL};
    uint32_t l_1176[4][4][10] = {{{0xA893825DL,1UL,0xB751C757L,0xE684D864L,0xCC3D1B3CL,3UL,4294967292UL,3UL,0xCC3D1B3CL,0xE684D864L},{8UL,0xA893825DL,8UL,1UL,0x169CA6F4L,0x6729027CL,0xCC3D1B3CL,0xE5C0FD2CL,0xE684D864L,0x9407AF69L},{0x9407AF69L,0x6729027CL,1UL,4294967292UL,0xE5C0FD2CL,1UL,1UL,0xE5C0FD2CL,4294967292UL,1UL},{0xB751C757L,0xB751C757L,8UL,0UL,0xE684D864L,0xA893825DL,0xEEC3CB7EL,3UL,0xE5C0FD2CL,0UL}},{{1UL,0xCC3D1B3CL,0xB751C757L,4294967291UL,0xEEC3CB7EL,0x169CA6F4L,0xEEC3CB7EL,4294967291UL,0xB751C757L,0xCC3D1B3CL},{0xE5C0FD2CL,0xB751C757L,4294967292UL,0x9407AF69L,0UL,1UL,1UL,0x169CA6F4L,0UL,3UL},{0UL,0x6729027CL,0xEEC3CB7EL,0xCC3D1B3CL,1UL,1UL,0xCC3D1B3CL,0xEEC3CB7EL,0x6729027CL,0UL},{0xE5C0FD2CL,0xA893825DL,1UL,0xEEC3CB7EL,0xB751C757L,0x169CA6F4L,4294967292UL,0x6729027CL,4294967291UL,0x5D938B23L}},{{1UL,1UL,3UL,0xA893825DL,0xB751C757L,0xA893825DL,3UL,1UL,1UL,0UL},{0xB751C757L,4294967292UL,0x9407AF69L,0UL,1UL,1UL,0x169CA6F4L,0UL,3UL,3UL},{0x9407AF69L,8UL,0x6729027CL,0UL,0UL,0x6729027CL,8UL,0x9407AF69L,1UL,0xCC3D1B3CL},{8UL,0UL,0xE684D864L,0xA893825DL,0xEEC3CB7EL,3UL,0xE5C0FD2CL,0UL,4294967291UL,0UL}},{{0xA893825DL,0UL,1UL,0x9407AF69L,1UL,0xE684D864L,0x6729027CL,1UL,4294967291UL,0UL},{8UL,0xCC3D1B3CL,4294967291UL,3UL,0UL,1UL,1UL,4294967292UL,4294967292UL,1UL},{0xEEC3CB7EL,0xCC3D1B3CL,1UL,1UL,0xCC3D1B3CL,0xEEC3CB7EL,0x6729027CL,0UL,1UL,1UL},{0UL,0xE684D864L,0xA893825DL,0xEEC3CB7EL,3UL,0xE5C0FD2CL,0UL,4294967291UL,0UL,0xE5C0FD2CL}}};
    struct S0 l_1268 = {0x95CFBF3526A1CB9DLL};
    int i, j, k;
    for (i = 0; i < 10; i++)
        l_448[i] = 0x8D74L;
    for (i = 0; i < 4; i++)
    {
        for (j = 0; j < 1; j++)
            l_451[i][j] = &g_82;
    }
    for (i = 0; i < 8; i++)
        l_722[i] = 1UL;
    for (i = 0; i < 4; i++)
        l_747[i] = 5UL;
    for (i = 0; i < 2; i++)
        l_985[i] = &g_163;
    if ((((*l_418) &= ((g_358 , l_417[0][0]) != l_417[0][0])) & (safe_div_func_uint32_t_u_u((safe_mul_func_int8_t_s_s((safe_mul_func_int64_t_s_s(((((0xFF210E48L & (safe_mod_func_int64_t_s_s((((((safe_rshift_func_uint16_t_u_s(((*l_436) = (!(safe_mul_func_uint64_t_u_u((18446744073709551614UL != (((l_432[9][3] | ((safe_rshift_func_uint8_t_u_s(p_62, l_432[9][3])) || ((void*)0 != &g_17))) , (-10L)) , p_62)), l_435[1][1])))), 11)) || l_435[1][5]) && 0UL) != l_438) || 0x57A6L), p_66))) < 0x605BB5954C98EEA5LL) < l_439) | p_64), 0x0533C85A9D1DCE01LL)), 255UL)), (*p_65)))))
    { /* block id: 196 */
        int32_t l_442[7][8][4] = {{{(-1L),0xD3ECF2B6L,0x45D75885L,0x065A1CF3L},{3L,0xBFCF8046L,6L,0xBFCF8046L},{0xBFCF8046L,0x45D75885L,(-1L),0xBFCF8046L},{(-1L),0xBFCF8046L,0x065A1CF3L,0x065A1CF3L},{0xD3ECF2B6L,0xD3ECF2B6L,6L,3L},{0xD3ECF2B6L,0x45D75885L,0x065A1CF3L,0xD3ECF2B6L},{(-1L),3L,(-1L),0x065A1CF3L},{0xBFCF8046L,3L,6L,0xD3ECF2B6L}},{{3L,0x45D75885L,0x45D75885L,3L},{(-1L),0xD3ECF2B6L,0x45D75885L,0x065A1CF3L},{3L,0xBFCF8046L,6L,0xBFCF8046L},{0xBFCF8046L,0x45D75885L,(-1L),0xBFCF8046L},{(-1L),0xBFCF8046L,0x065A1CF3L,0x065A1CF3L},{0xD3ECF2B6L,0xD3ECF2B6L,6L,3L},{0xD3ECF2B6L,0x45D75885L,0x065A1CF3L,0xD3ECF2B6L},{(-1L),3L,(-1L),0x065A1CF3L}},{{0xBFCF8046L,3L,6L,0xD3ECF2B6L},{3L,0x45D75885L,0x45D75885L,3L},{(-1L),0xD3ECF2B6L,0x45D75885L,0x065A1CF3L},{3L,0xBFCF8046L,6L,0xBFCF8046L},{0xBFCF8046L,0x45D75885L,(-1L),0xBFCF8046L},{(-1L),0xBFCF8046L,0x065A1CF3L,0x065A1CF3L},{0xD3ECF2B6L,0xD3ECF2B6L,6L,3L},{0xD3ECF2B6L,0x45D75885L,0x065A1CF3L,0xD3ECF2B6L}},{{(-1L),3L,(-1L),0x065A1CF3L},{0xBFCF8046L,3L,6L,0xD3ECF2B6L},{3L,0x45D75885L,0x45D75885L,3L},{(-1L),0xD3ECF2B6L,0x45D75885L,0x065A1CF3L},{3L,0xBFCF8046L,6L,0xBFCF8046L},{0xBFCF8046L,0x45D75885L,(-1L),0xBFCF8046L},{(-1L),0xBFCF8046L,0x065A1CF3L,0x065A1CF3L},{0xD3ECF2B6L,0xD3ECF2B6L,6L,3L}},{{0xD3ECF2B6L,0x45D75885L,0x065A1CF3L,0xD3ECF2B6L},{(-1L),3L,(-1L),0x065A1CF3L},{0xBFCF8046L,3L,6L,0xD3ECF2B6L},{3L,0x45D75885L,0x45D75885L,3L},{(-1L),0xD3ECF2B6L,0x45D75885L,0x065A1CF3L},{3L,0xBFCF8046L,6L,0xBFCF8046L},{0x065A1CF3L,6L,0x44F66C01L,0x065A1CF3L},{0x44F66C01L,0x065A1CF3L,0xECEFD655L,0xECEFD655L}},{{(-1L),(-1L),0xD3ECF2B6L,0x45D75885L},{(-1L),6L,0xECEFD655L,(-1L)},{0x44F66C01L,0x45D75885L,0x44F66C01L,0xECEFD655L},{0x065A1CF3L,0x45D75885L,0xD3ECF2B6L,(-1L)},{0x45D75885L,6L,6L,0x45D75885L},{0x44F66C01L,(-1L),6L,0xECEFD655L},{0x45D75885L,0x065A1CF3L,0xD3ECF2B6L,0x065A1CF3L},{0x065A1CF3L,6L,0x44F66C01L,0x065A1CF3L}},{{0x44F66C01L,0x065A1CF3L,0xECEFD655L,0xECEFD655L},{(-1L),(-1L),0xD3ECF2B6L,0x45D75885L},{(-1L),6L,0xECEFD655L,(-1L)},{0x44F66C01L,0x45D75885L,0x44F66C01L,0xECEFD655L},{0x065A1CF3L,0x45D75885L,0xD3ECF2B6L,(-1L)},{0x45D75885L,6L,6L,0x45D75885L},{0x44F66C01L,(-1L),6L,0xECEFD655L},{0x45D75885L,0x065A1CF3L,0xD3ECF2B6L,0x065A1CF3L}}};
        uint16_t **l_446 = &l_418;
        struct S0 l_447 = {7UL};
        int32_t l_485 = 0x73F0B1D4L;
        uint32_t l_487[8][1][6] = {{{9UL,1UL,18446744073709551612UL,18446744073709551612UL,1UL,9UL}},{{0xFF8C50C6L,9UL,18446744073709551612UL,9UL,0xFF8C50C6L,0xFF8C50C6L}},{{0x02106662L,9UL,9UL,0x02106662L,1UL,0x02106662L}},{{0x02106662L,1UL,0x02106662L,9UL,9UL,0x02106662L}},{{0xFF8C50C6L,0xFF8C50C6L,9UL,18446744073709551612UL,9UL,0xFF8C50C6L}},{{9UL,1UL,18446744073709551612UL,18446744073709551612UL,1UL,9UL}},{{0xFF8C50C6L,9UL,18446744073709551612UL,9UL,0xFF8C50C6L,0xFF8C50C6L}},{{0x02106662L,9UL,9UL,0x02106662L,1UL,0x02106662L}}};
        uint16_t l_488 = 65534UL;
        int64_t l_496 = (-1L);
        uint8_t l_525 = 0xA2L;
        int32_t l_529 = 0x33F335B2L;
        int32_t l_530 = 3L;
        int32_t l_536 = 4L;
        int32_t l_544 = (-5L);
        int32_t l_643 = 0x299B50DFL;
        int32_t l_644 = 0L;
        int32_t l_645 = 0x2E644557L;
        int32_t l_646 = 2L;
        int32_t l_648 = 0x46D20084L;
        int32_t l_651 = 0x92A9C15CL;
        int32_t l_652 = 0x74FA5707L;
        int32_t ***l_679 = &g_140;
        uint32_t l_681 = 1UL;
        uint64_t **l_721 = &l_595;
        uint8_t *l_754 = &l_653;
        int32_t l_774 = 0L;
        int32_t *** const **l_790 = &l_505;
        int64_t *l_803 = &l_496;
        int64_t **l_802[6];
        int32_t ****l_879 = &l_679;
        const int32_t *l_916 = &g_21[1][0];
        const int32_t **l_915 = &l_916;
        const int32_t ***l_914 = &l_915;
        struct S0 l_974 = {0x1C113626BDF44BB5LL};
        uint64_t l_998[5][8][6] = {{{1UL,18446744073709551608UL,18446744073709551613UL,0x909B0D0533DF0C2ELL,0x909B0D0533DF0C2ELL,18446744073709551613UL},{1UL,1UL,1UL,0xCC70F7C877C32071LL,0x3588BD39681346CBLL,18446744073709551606UL},{1UL,0xEC74F0621CC6850CLL,0xB4401E9D63EC58A4LL,18446744073709551612UL,0x71F9B2F137586400LL,1UL},{1UL,1UL,0xB4401E9D63EC58A4LL,0xBFBB9510A757D8C3LL,1UL,18446744073709551606UL},{0xDED793AC473AAA3ALL,0xBFBB9510A757D8C3LL,1UL,18446744073709551613UL,0UL,18446744073709551613UL},{18446744073709551613UL,0UL,18446744073709551613UL,1UL,0xBFBB9510A757D8C3LL,0xDED793AC473AAA3ALL},{18446744073709551606UL,1UL,0xBFBB9510A757D8C3LL,0xB4401E9D63EC58A4LL,1UL,1UL},{1UL,0x71F9B2F137586400LL,18446744073709551612UL,0xB4401E9D63EC58A4LL,0xEC74F0621CC6850CLL,1UL}},{{18446744073709551606UL,0x3588BD39681346CBLL,0xCC70F7C877C32071LL,1UL,1UL,1UL},{18446744073709551613UL,0x909B0D0533DF0C2ELL,0x909B0D0533DF0C2ELL,18446744073709551613UL,18446744073709551608UL,1UL},{0xDED793AC473AAA3ALL,3UL,18446744073709551613UL,0xBFBB9510A757D8C3LL,0x01F82F6495AF46CFLL,1UL},{1UL,1UL,0x3588BD39681346CBLL,18446744073709551612UL,0x01F82F6495AF46CFLL,0x3588BD39681346CBLL},{1UL,18446744073709551606UL,0x71F9B2F137586400LL,0xEC74F0621CC6850CLL,0x9068205A328F9C3DLL,1UL},{1UL,18446744073709551613UL,0UL,18446744073709551613UL,1UL,0xBFBB9510A757D8C3LL},{8UL,0xDED793AC473AAA3ALL,18446744073709551612UL,18446744073709551612UL,18446744073709551608UL,0xA5EA4F6D40C6242ELL},{0xCC70F7C877C32071LL,1UL,18446744073709551612UL,0xDED793AC473AAA3ALL,1UL,0xA5EA4F6D40C6242ELL}},{{0x3588BD39681346CBLL,1UL,18446744073709551612UL,0x71F9B2F137586400LL,1UL,0xBFBB9510A757D8C3LL},{1UL,1UL,0UL,0UL,1UL,1UL},{0xBFBB9510A757D8C3LL,1UL,0x71F9B2F137586400LL,18446744073709551612UL,1UL,0x3588BD39681346CBLL},{0xA5EA4F6D40C6242ELL,1UL,0xDED793AC473AAA3ALL,18446744073709551612UL,1UL,0xCC70F7C877C32071LL},{0xA5EA4F6D40C6242ELL,18446744073709551608UL,18446744073709551612UL,18446744073709551612UL,0xDED793AC473AAA3ALL,8UL},{0xBFBB9510A757D8C3LL,1UL,18446744073709551613UL,0UL,18446744073709551613UL,1UL},{1UL,0x9068205A328F9C3DLL,0xEC74F0621CC6850CLL,0x71F9B2F137586400LL,18446744073709551606UL,1UL},{0x3588BD39681346CBLL,18446744073709551612UL,18446744073709551608UL,0xDED793AC473AAA3ALL,1UL,0x01F82F6495AF46CFLL}},{{0xCC70F7C877C32071LL,18446744073709551612UL,1UL,18446744073709551612UL,18446744073709551606UL,0xB4401E9D63EC58A4LL},{8UL,0x9068205A328F9C3DLL,18446744073709551612UL,18446744073709551613UL,18446744073709551613UL,18446744073709551612UL},{1UL,1UL,1UL,0xEC74F0621CC6850CLL,0xDED793AC473AAA3ALL,0x909B0D0533DF0C2ELL},{1UL,18446744073709551608UL,3UL,18446744073709551608UL,1UL,1UL},{0x01F82F6495AF46CFLL,1UL,3UL,1UL,1UL,0x909B0D0533DF0C2ELL},{0xB4401E9D63EC58A4LL,1UL,1UL,18446744073709551612UL,1UL,18446744073709551612UL},{18446744073709551612UL,1UL,18446744073709551612UL,1UL,1UL,0xB4401E9D63EC58A4LL},{0x909B0D0533DF0C2ELL,1UL,1UL,3UL,1UL,0x01F82F6495AF46CFLL}},{{1UL,1UL,18446744073709551608UL,3UL,18446744073709551608UL,1UL},{0x909B0D0533DF0C2ELL,0xDED793AC473AAA3ALL,0xEC74F0621CC6850CLL,1UL,1UL,1UL},{18446744073709551612UL,18446744073709551613UL,18446744073709551613UL,18446744073709551612UL,0x9068205A328F9C3DLL,8UL},{0xB4401E9D63EC58A4LL,18446744073709551606UL,18446744073709551612UL,1UL,18446744073709551612UL,0xCC70F7C877C32071LL},{0x01F82F6495AF46CFLL,1UL,0xDED793AC473AAA3ALL,18446744073709551608UL,18446744073709551612UL,0x3588BD39681346CBLL},{1UL,18446744073709551606UL,0x71F9B2F137586400LL,0xEC74F0621CC6850CLL,0x9068205A328F9C3DLL,1UL},{1UL,18446744073709551613UL,0UL,18446744073709551613UL,1UL,0xBFBB9510A757D8C3LL},{8UL,0xDED793AC473AAA3ALL,18446744073709551612UL,18446744073709551612UL,18446744073709551608UL,0xA5EA4F6D40C6242ELL}}};
        int8_t l_1049 = 7L;
        int i, j, k;
        for (i = 0; i < 6; i++)
            l_802[i] = &l_803;
        if (((((safe_sub_func_uint16_t_u_u((l_442[0][1][0] ^ g_21[2][1]), (safe_sub_func_uint32_t_u_u(g_312.f0, ((+0x50F6L) < (l_436 == ((*l_446) = l_436))))))) | (l_447 , g_163.f1)) < l_432[6][2]) <= l_448[3]))
        { /* block id: 198 */
            uint32_t l_460[8];
            int32_t **l_461[6][7][6] = {{{&l_451[3][0],(void*)0,&g_81,&l_451[3][0],&l_451[3][0],&l_451[3][0]},{&l_451[3][0],&l_451[3][0],&l_451[3][0],&l_451[3][0],&l_451[3][0],(void*)0},{(void*)0,(void*)0,&g_81,&l_451[3][0],&g_81,(void*)0},{&l_451[3][0],&l_451[3][0],&l_451[3][0],&g_81,&g_81,&l_451[3][0]},{&l_451[3][0],&l_451[3][0],&g_81,&l_451[3][0],&g_81,&l_451[1][0]},{&l_451[3][0],&l_451[3][0],(void*)0,&g_81,&g_81,&g_81},{&l_451[3][0],(void*)0,(void*)0,&l_451[3][0],&l_451[3][0],&l_451[1][0]}},{{&l_451[3][0],&l_451[3][0],&g_81,&l_451[3][0],&l_451[1][0],&l_451[3][0]},{&l_451[3][0],&l_451[1][0],&l_451[3][0],&g_81,&l_451[1][0],&l_451[3][0]},{&l_451[3][0],&l_451[3][0],&l_451[3][0],&l_451[3][0],&l_451[3][0],&l_451[3][0]},{&l_451[3][0],(void*)0,&l_451[3][0],&g_81,&g_81,&l_451[3][0]},{&l_451[3][0],&l_451[3][0],&g_81,&l_451[3][0],&g_81,&l_451[1][0]},{&l_451[3][0],&l_451[3][0],(void*)0,&g_81,&g_81,&g_81},{&l_451[3][0],(void*)0,(void*)0,&l_451[3][0],&l_451[3][0],&l_451[1][0]}},{{&l_451[3][0],&l_451[3][0],&g_81,&l_451[3][0],&l_451[1][0],&l_451[3][0]},{&l_451[3][0],&l_451[1][0],&l_451[3][0],&g_81,&l_451[1][0],&l_451[3][0]},{&l_451[3][0],&l_451[3][0],&l_451[3][0],&l_451[3][0],&l_451[3][0],&l_451[3][0]},{&l_451[3][0],(void*)0,&l_451[3][0],&g_81,&g_81,&l_451[3][0]},{&l_451[3][0],&l_451[3][0],&g_81,&l_451[3][0],&g_81,&l_451[1][0]},{&l_451[3][0],&l_451[3][0],(void*)0,&g_81,&g_81,&g_81},{&l_451[3][0],(void*)0,(void*)0,&l_451[3][0],&l_451[3][0],&l_451[1][0]}},{{&l_451[3][0],&l_451[3][0],&g_81,&l_451[3][0],&l_451[1][0],&l_451[3][0]},{&l_451[3][0],&l_451[1][0],&l_451[3][0],&g_81,&l_451[1][0],&l_451[3][0]},{&l_451[3][0],&l_451[3][0],&l_451[3][0],&l_451[3][0],&l_451[3][0],&l_451[3][0]},{&l_451[3][0],(void*)0,&l_451[3][0],&g_81,&g_81,&l_451[3][0]},{&l_451[3][0],&l_451[3][0],&g_81,&l_451[3][0],&g_81,&l_451[1][0]},{&l_451[3][0],&l_451[3][0],(void*)0,&g_81,&g_81,&g_81},{&l_451[3][0],(void*)0,(void*)0,&l_451[3][0],&l_451[3][0],&l_451[1][0]}},{{&l_451[3][0],&l_451[3][0],&g_81,&l_451[3][0],&l_451[1][0],&l_451[3][0]},{&l_451[3][0],&l_451[1][0],&l_451[3][0],&g_81,&l_451[1][0],&l_451[3][0]},{&l_451[3][0],&l_451[3][0],&l_451[3][0],&l_451[3][0],&l_451[3][0],&l_451[3][0]},{&l_451[3][0],(void*)0,&l_451[3][0],&g_81,&g_81,&l_451[3][0]},{&l_451[3][0],&l_451[3][0],&g_81,&l_451[3][0],&g_81,&l_451[1][0]},{&l_451[3][0],&l_451[3][0],(void*)0,&g_81,&g_81,&g_81},{&l_451[3][0],(void*)0,(void*)0,&l_451[3][0],&l_451[3][0],&l_451[1][0]}},{{&l_451[3][0],&l_451[3][0],(void*)0,(void*)0,(void*)0,&l_451[3][0]},{(void*)0,(void*)0,&l_451[3][0],&g_81,(void*)0,&l_451[3][0]},{&l_451[1][0],&l_451[3][0],&l_451[3][0],&l_451[3][0],&l_451[3][0],&l_451[3][0]},{&g_81,&l_451[3][0],&l_451[3][0],&l_451[3][0],(void*)0,&l_451[3][0]},{&g_81,&l_451[3][0],(void*)0,&l_451[3][0],(void*)0,(void*)0},{&l_451[1][0],&l_451[3][0],&l_451[3][0],&g_81,(void*)0,(void*)0},{(void*)0,&l_451[3][0],&l_451[3][0],(void*)0,&l_451[3][0],(void*)0}}};
            int8_t *l_490 = (void*)0;
            int8_t **l_489[2];
            int32_t l_491 = (-1L);
            struct S0 l_511[7] = {{0x6E9EC7946508419CLL},{18446744073709551608UL},{18446744073709551608UL},{0x6E9EC7946508419CLL},{18446744073709551608UL},{18446744073709551608UL},{0x6E9EC7946508419CLL}};
            const int32_t *l_523 = &l_491;
            int32_t l_532[9] = {1L,1L,1L,1L,1L,1L,1L,1L,1L};
            int32_t l_545 = 0x766ADA99L;
            struct S1 *l_571 = &g_572;
            int32_t l_631 = 6L;
            int32_t l_642 = (-4L);
            int32_t **l_766 = &l_451[3][0];
            struct S0 l_789[3] = {{0UL},{0UL},{0UL}};
            uint64_t l_793[8];
            int i, j, k;
            for (i = 0; i < 8; i++)
                l_460[i] = 0UL;
            for (i = 0; i < 2; i++)
                l_489[i] = &l_490;
            for (i = 0; i < 8; i++)
                l_793[i] = 8UL;
lbl_794:
            (*g_450) = g_449;
            if ((l_451[3][0] != (g_81 = ((safe_sub_func_uint16_t_u_u((((0xF14EL <= p_62) && ((safe_rshift_func_uint16_t_u_s(((*l_436) = l_448[3]), g_409)) ^ ((safe_mul_func_uint16_t_u_u((((*p_65) , g_393[1][0].f7) , 65535UL), (((safe_mul_func_uint16_t_u_u(g_165, l_442[3][7][1])) & 0x488B1E2EL) >= 0xB207L))) | 0L))) == l_460[0]), 0xD5DAL)) , &g_21[1][2]))))
            { /* block id: 202 */
                int8_t *l_464 = &g_257;
                int8_t **l_463 = &l_464;
                int32_t l_469 = 7L;
                int32_t **l_480 = &g_141[0];
                int32_t **l_481 = &g_141[0];
                int32_t **l_482 = (void*)0;
                int32_t **l_483 = &g_141[3];
                uint32_t *l_486 = &g_124;
                int32_t l_534 = 0x9E2C9079L;
                int32_t l_535 = 6L;
                int32_t l_539 = 0L;
                int32_t l_546 = (-4L);
                struct S0 l_553 = {0x3819C3E6CAB55650LL};
                int64_t l_581 = 8L;
                struct S1 *l_590 = (void*)0;
                struct S1 **l_591[10][2] = {{&l_571,&l_571},{&l_590,&l_571},{&l_571,&g_167[0][2][5]},{&g_167[0][2][5],&l_571},{&l_571,&l_590},{&l_571,&l_571},{&g_167[0][2][5],&g_167[0][2][5]},{&l_571,&l_571},{&l_590,&l_571},{&l_571,&g_167[0][2][5]}};
                uint64_t **l_592 = (void*)0;
                uint64_t ***l_593[2][3] = {{(void*)0,(void*)0,(void*)0},{&l_592,&l_592,&l_592}};
                int64_t *l_598 = &l_496;
                int32_t l_599 = (-1L);
                int32_t l_630 = 7L;
                int32_t l_632 = (-1L);
                int32_t l_633 = (-1L);
                uint8_t l_634[3][4][5] = {{{249UL,1UL,0xEAL,0UL,0xEFL},{0xD1L,0UL,0xFEL,5UL,0x7DL},{0x70L,7UL,255UL,0xEFL,0x7DL},{0xEEL,255UL,255UL,0xEEL,0UL}},{{5UL,0xD1L,0xFEL,7UL,0UL},{6UL,0x7DL,0xEAL,0UL,0xD1L},{0UL,255UL,1UL,7UL,0xEFL},{0x7DL,0UL,0x2AL,0xEEL,249UL}},{{6UL,249UL,0xEFL,0xEFL,249UL},{0UL,1UL,0x70L,5UL,0xEFL},{0x7DL,5UL,0xFEL,0UL,0xD1L},{0x70L,0x7DL,1UL,0xEFL,0UL}}};
                int32_t l_647 = 0x37E1A0D4L;
                int32_t l_649 = (-6L);
                int32_t l_650 = (-1L);
                int i, j, k;
                if ((l_491 = ((+(((*l_463) = (void*)0) != (void*)0)) , (safe_mul_func_int32_t_s_s((safe_lshift_func_uint32_t_u_s((l_469 , g_2[2][1]), 12)), ((g_470 == (((((safe_div_func_uint8_t_u_u((l_460[0] & (((((*l_486) ^= (safe_lshift_func_int16_t_s_u((safe_add_func_uint32_t_u_u(((((safe_lshift_func_uint16_t_u_u((l_469 || ((((l_484 = &p_66) == (void*)0) == g_216) && l_460[7])), 4)) > 4294967293UL) && 0xEF40D5FFL) || l_485), l_432[9][3])), l_460[7]))) > l_460[0]) & 0xE70FFB75L) && l_487[7][0][4])), l_488)) | (*g_471)) , g_79) && g_163.f1) , l_489[0])) | p_64))))))
                { /* block id: 207 */
                    uint32_t ***l_503 = &g_501[4];
                    int32_t *l_528[7][9] = {{&g_2[5][2],&g_15,&g_163.f0,&l_491,&g_15,&l_491,&g_163.f0,&l_491,&g_163.f0},{(void*)0,&g_15,&g_2[3][2],&g_2[3][2],&g_15,(void*)0,&g_2[4][0],&l_485,(void*)0},{&l_485,&g_163.f0,&g_2[4][1],&l_485,&g_163.f0,&l_469,&g_163.f0,&g_2[4][1],&g_163.f0},{(void*)0,(void*)0,&g_163.f0,(void*)0,&l_491,&l_491,&g_2[4][0],&g_163.f0,&g_2[4][1]},{&g_2[4][0],&g_2[4][1],&g_15,&g_163.f0,&g_163.f0,&g_163.f0,&g_163.f0,&g_15,&g_2[4][1]},{&g_163.f0,&l_485,&g_163.f0,&l_491,&g_2[4][1],&g_2[3][1],&l_491,(void*)0,&g_163.f0},{&g_2[0][0],&l_491,&g_163.f0,&g_163.f0,(void*)0,&l_491,&g_2[3][1],&g_2[4][1],&l_491}};
                    int i, j;
lbl_524:
                    for (p_66 = (-16); (p_66 <= 12); p_66 = safe_add_func_uint32_t_u_u(p_66, 3))
                    { /* block id: 210 */
                        int16_t *l_499 = &l_448[0];
                        l_496 &= ((safe_mul_func_uint16_t_u_u((&g_81 == &g_81), p_64)) || (g_163.f4 > 0xCC8BL));
                        l_491 = (safe_lshift_func_int16_t_s_u(((*l_499) = g_163.f7), 13));
                    }
                    (*l_503) = &l_486;
                    if ((&g_449 != (g_507 = l_504)))
                    { /* block id: 217 */
                        const int32_t *l_516 = (void*)0;
                        const int32_t **l_515 = &l_516;
                        const int32_t ***l_514 = &l_515;
                        const int32_t ****l_513 = &l_514;
                        const int32_t *****l_512 = &l_513;
                        l_511[2] = g_152;
                        if (g_216)
                            goto lbl_522;
lbl_522:
                        g_517[3][2][4] = l_512;
                        l_523 = (void*)0;
                        l_491 = (g_393[1][0].f8 , 0x9EB21093L);
                    }
                    else
                    { /* block id: 223 */
                        if (g_257)
                            goto lbl_524;
                        l_525++;
                    }
                    l_547--;
                }
                else
                { /* block id: 228 */
                    struct S0 **l_550 = (void*)0;
                    g_510 = &g_152;
                    for (g_409 = (-2); (g_409 > 52); g_409 = safe_add_func_uint32_t_u_u(g_409, 3))
                    { /* block id: 232 */
                        return l_553;
                    }
                    if ((*p_65))
                    { /* block id: 235 */
                        int64_t *l_557 = &l_496;
                        int32_t **l_577 = &l_451[3][0];
                        int32_t ***l_578 = &l_577;
                        (*l_484) &= (safe_div_func_int64_t_s_s(((~(((*l_557) &= g_312.f8) < (0xB8L > (safe_add_func_uint16_t_u_u((safe_mod_func_int8_t_s_s((g_86 == (safe_lshift_func_uint32_t_u_s((+(safe_div_func_uint16_t_u_u(((safe_rshift_func_int8_t_s_s(((p_65 == (void*)0) , ((safe_add_func_int8_t_s_s((-1L), ((((void*)0 == l_571) , (safe_add_func_uint16_t_u_u((safe_mul_func_int16_t_s_s((((*l_578) = l_577) == (void*)0), p_63)), 0xD9B7L))) & p_64))) > g_572.f4)), p_64)) >= l_447.f0), g_152.f0))), 5))), g_2[2][1])), g_257))))) > 18446744073709551613UL), (*l_523)));
                        return (*g_510);
                    }
                    else
                    { /* block id: 240 */
                        uint64_t l_584[2][2][2] = {{{0xC8D454AD5061183CLL,0x7E811D5CE84527A3LL},{0xC8D454AD5061183CLL,0xC8D454AD5061183CLL}},{{0x7E811D5CE84527A3LL,0xC8D454AD5061183CLL},{0xC8D454AD5061183CLL,0x7E811D5CE84527A3LL}}};
                        int32_t l_585 = 0xC2F96D71L;
                        int i, j, k;
                        (*l_484) = (((safe_sub_func_int8_t_s_s((-8L), (((g_393[1][0] , ((g_163.f6 , l_581) , p_64)) | g_437) >= ((p_64 , ((safe_mul_func_int32_t_s_s(8L, (l_584[1][1][0] ^= (l_529 = 0x1F8B6FECL)))) & p_62)) | l_585)))) ^ 0x39370149L) ^ 0x7FL);
                    }
                }
                if (((safe_add_func_uint32_t_u_u(((*l_486) &= ((safe_add_func_int8_t_s_s((((*g_81) = (((l_590 != ((*g_166) = l_590)) == (l_544 != ((g_152 , p_65) == p_65))) > ((0x7F9D29A1E3D48D3CLL && (((((*l_598) = (((g_596[1][2][2] = (l_594 = l_592)) == (l_553 , (void*)0)) && 7L)) , 1L) && 6L) != 0xC0DAL)) | (*g_502)))) , p_62), 0xA5L)) <= g_437)), l_488)) == 0x46L))
                { /* block id: 252 */
                    uint32_t **l_617[7] = {(void*)0,(void*)0,(void*)0,(void*)0,(void*)0,(void*)0,(void*)0};
                    int32_t l_619[3];
                    int32_t l_623 = 0L;
                    struct S0 l_656[2][2][3] = {{{{1UL},{9UL},{9UL}},{{0x98D8E0C927C32399LL},{0x31FAB576044068C3LL},{0x31FAB576044068C3LL}}},{{{1UL},{9UL},{9UL}},{{0x98D8E0C927C32399LL},{0x31FAB576044068C3LL},{0x31FAB576044068C3LL}}}};
                    int i, j, k;
                    for (i = 0; i < 3; i++)
                        l_619[i] = 0x1436D8FDL;
                    if ((p_63 ^ ((*g_502) = p_62)))
                    { /* block id: 254 */
                        uint32_t **l_618 = (void*)0;
                        int32_t l_620 = 0x4FE291C6L;
                        int16_t *l_621 = (void*)0;
                        int16_t *l_622 = &g_86;
                        int32_t *l_625 = &l_545;
                        int32_t *l_626 = &l_619[2];
                        int32_t *l_627 = &l_532[7];
                        int32_t *l_628 = &l_619[0];
                        int32_t *l_629[7] = {&l_534,&l_534,&l_534,&l_534,&l_534,&l_534,&l_534};
                        uint16_t l_637[8] = {0xCA64L,0xCA64L,0xCA64L,0xCA64L,0xCA64L,0xCA64L,0xCA64L,0xCA64L};
                        int i;
                        l_623 |= (l_599 != ((safe_sub_func_int16_t_s_s((((*l_622) &= ((safe_lshift_func_int32_t_s_s((+(safe_sub_func_uint8_t_u_u((p_62 | (safe_mul_func_uint32_t_u_u(p_66, (safe_mod_func_uint64_t_u_u((((l_511[2] , g_572.f0) | (safe_rshift_func_int32_t_s_u(((g_393[1][0].f8 <= (((l_532[5] = (((((((++(*l_595)) ^ ((void*)0 != l_481)) , l_617[3]) == l_618) >= p_66) , l_619[2]) < p_66)) != (*g_471)) <= p_64)) | (-1L)), 7))) , l_619[2]), 1L))))), l_620))), l_544)) || l_620)) >= 0x5907L), p_66)) || p_62));
                        l_634[0][0][0]++;
                        (*l_626) &= l_637[6];
                    }
                    else
                    { /* block id: 261 */
                        int32_t l_638 = 0x733DA447L;
                        int32_t *l_639 = &l_599;
                        int32_t *l_640 = &l_630;
                        int32_t *l_641[4][2][7] = {{{&l_544,(void*)0,&g_572.f0,(void*)0,&l_544,(void*)0,(void*)0},{&l_544,(void*)0,&g_572.f0,(void*)0,&l_544,(void*)0,(void*)0}},{{&l_544,(void*)0,&g_572.f0,(void*)0,&l_544,(void*)0,(void*)0},{&l_544,(void*)0,&g_572.f0,(void*)0,&l_544,(void*)0,(void*)0}},{{&l_544,(void*)0,&g_572.f0,(void*)0,&l_544,(void*)0,(void*)0},{&l_544,(void*)0,&g_572.f0,(void*)0,&l_544,(void*)0,(void*)0}},{{&l_544,(void*)0,&g_572.f0,(void*)0,&l_544,(void*)0,(void*)0},{&l_544,(void*)0,&g_572.f0,(void*)0,&l_544,(void*)0,(void*)0}}};
                        int i, j, k;
                        --l_653;
                        return l_656[0][0][0];
                    }
                    return l_511[2];
                }
                else
                { /* block id: 266 */
                    int16_t *l_673 = &l_624;
                    int32_t ***l_678 = (void*)0;
                    uint8_t *l_680 = &g_216;
                    struct S0 l_682 = {0x9443F3A408506598LL};
                    l_681 ^= ((safe_add_func_uint8_t_u_u(g_312.f7, ((~(p_64 & 0UL)) < (((*l_680) = ((safe_mul_func_uint16_t_u_u((((safe_mul_func_int16_t_s_s(((safe_lshift_func_int32_t_s_s(((safe_rshift_func_int64_t_s_u((safe_lshift_func_uint32_t_u_u(((*g_502) = 0x01C8591EL), (l_670 , (((*l_486)++) ^ 0L)))), 0)) || 0x73832E38D9CF1DE8LL), 12)) , ((*l_673) = 0x78A5L)), ((((safe_div_func_int16_t_s_s((safe_mul_func_int64_t_s_s(((g_86 != 0xCCL) > p_64), p_63)), p_66)) < 0xEAE1L) | 0x7CL) && p_64))) , l_678) != l_679), p_63)) != p_62)) & p_64)))) , (*p_65));
                    return l_682;
                }
            }
            else
            { /* block id: 274 */
                uint64_t l_700 = 18446744073709551609UL;
                int32_t **l_715 = (void*)0;
                int64_t l_737 = 7L;
                uint32_t l_740 = 0x68F7C5CEL;
                uint32_t *l_745 = &l_722[2];
                uint32_t *l_746 = &l_681;
                for (g_22 = 0; (g_22 == 15); g_22 = safe_add_func_int64_t_s_s(g_22, 7))
                { /* block id: 277 */
                    const int32_t l_697 = 0x6549C328L;
                    struct S0 *l_730 = &g_152;
                    for (l_543 = 1; (l_543 > 15); l_543++)
                    { /* block id: 280 */
                        uint8_t l_693 = 4UL;
                        int32_t *l_701 = &l_652;
                        (*l_701) |= ((0xAA7E3315L ^ ((safe_sub_func_int16_t_s_s(1L, (safe_sub_func_uint8_t_u_u(g_257, ((((void*)0 != &l_594) < (l_693 == (((~(safe_add_func_uint16_t_u_u(p_62, l_697))) != (safe_rshift_func_int32_t_s_u(((*l_484) |= 0x1DD6344FL), 28))) >= p_66))) == (*p_65)))))) >= g_165)) , l_700);
                        return l_702[3];
                    }
                    if ((*p_65))
                    { /* block id: 285 */
                        int32_t ***l_716 = &l_461[5][3][3];
                        l_722[7] = ((safe_rshift_func_uint8_t_u_u(((safe_mul_func_uint64_t_u_u((*g_597), (*g_597))) == ((l_545 ^= (l_700 || (safe_mod_func_int8_t_s_s((safe_mul_func_uint64_t_u_u((((safe_rshift_func_uint32_t_u_s(((safe_rshift_func_uint16_t_u_s(((((((*l_716) = l_715) != ((safe_sub_func_uint64_t_u_u((((safe_mul_func_int32_t_s_s(((void*)0 != l_721), (*p_65))) , &l_435[2][6]) != &g_218), 0L)) , &l_451[3][0])) , (*g_597)) != (*g_597)) & l_697), 4)) == 6L), 14)) && p_64) < l_697), p_64)), p_62)))) && p_63)), 4)) | 6UL);
                        (*l_484) = 1L;
                        if ((*p_65))
                            break;
                        if (l_700)
                            continue;
                    }
                    else
                    { /* block id: 292 */
                        int64_t * const **l_725[6][5][5] = {{{&l_723,&l_723,(void*)0,&l_723,&l_723},{(void*)0,&l_723,&l_723,&l_723,(void*)0},{&l_723,&l_723,&l_723,&l_723,(void*)0},{(void*)0,(void*)0,(void*)0,&l_723,&l_723},{(void*)0,&l_723,(void*)0,&l_723,&l_723}},{{&l_723,(void*)0,&l_723,&l_723,&l_723},{&l_723,&l_723,&l_723,(void*)0,&l_723},{(void*)0,&l_723,(void*)0,&l_723,(void*)0},{&l_723,&l_723,&l_723,&l_723,(void*)0},{&l_723,(void*)0,(void*)0,(void*)0,&l_723}},{{(void*)0,&l_723,&l_723,&l_723,(void*)0},{&l_723,(void*)0,&l_723,(void*)0,(void*)0},{(void*)0,&l_723,&l_723,&l_723,&l_723},{(void*)0,(void*)0,&l_723,&l_723,&l_723},{&l_723,&l_723,&l_723,&l_723,&l_723}},{{(void*)0,&l_723,&l_723,&l_723,(void*)0},{&l_723,&l_723,(void*)0,&l_723,&l_723},{(void*)0,&l_723,&l_723,(void*)0,&l_723},{&l_723,(void*)0,&l_723,&l_723,(void*)0},{&l_723,&l_723,&l_723,&l_723,&l_723}},{{&l_723,(void*)0,&l_723,&l_723,&l_723},{&l_723,&l_723,&l_723,(void*)0,&l_723},{(void*)0,&l_723,&l_723,&l_723,&l_723},{(void*)0,&l_723,(void*)0,&l_723,(void*)0},{&l_723,&l_723,(void*)0,&l_723,(void*)0}},{{&l_723,&l_723,&l_723,(void*)0,&l_723},{(void*)0,&l_723,&l_723,&l_723,&l_723},{&l_723,&l_723,&l_723,&l_723,(void*)0},{&l_723,&l_723,&l_723,&l_723,&l_723},{(void*)0,(void*)0,&l_723,&l_723,(void*)0}}};
                        int i, j, k;
                        g_726 = l_723;
                    }
                    (*l_730) = g_152;
                    (*l_484) = ((safe_mod_func_uint16_t_u_u(((**l_446) ^= ((safe_mod_func_int16_t_s_s(g_163.f5, p_63)) >= p_62)), (p_64 | (1UL <= (p_66 = ((safe_mod_func_uint16_t_u_u((0x58L == (p_66 > p_64)), (l_737 | 0x2088F0B7816CCC78LL))) , (*p_65))))))) & g_163.f1);
                }
                l_747[1] |= ((0x283C6F5DL | (l_740 >= ((*l_746) = ((((*l_745) = ((*g_502) = (safe_rshift_func_int32_t_s_s(((*l_523) ^ (safe_lshift_func_int8_t_s_u(((*g_471) = ((*l_523) < 0UL)), ((void*)0 == l_571)))), 24)))) >= 4294967288UL) >= (*p_65))))) < l_740);
            }
            l_642 ^= ((*l_484) = ((((void*)0 == &g_22) | (((safe_rshift_func_uint16_t_u_s(((4294967287UL <= (p_66 == (safe_div_func_uint8_t_u_u(g_393[1][0].f3, (-3L))))) != (*l_484)), 12)) , g_752) != (((l_754 = l_490) == &l_525) , (void*)0))) < p_63));
            for (l_529 = 0; (l_529 < 19); ++l_529)
            { /* block id: 311 */
                uint32_t l_765 = 18446744073709551607UL;
                int32_t ****l_792[7][2];
                int32_t *****l_791 = &l_792[4][0];
                int32_t l_839 = 0xBC6C968AL;
                int16_t l_840 = 3L;
                uint8_t l_841 = 1UL;
                int i, j;
                for (i = 0; i < 7; i++)
                {
                    for (j = 0; j < 2; j++)
                        l_792[i][j] = &l_679;
                }
                if ((((*g_502) &= 4294967286UL) == (safe_unary_minus_func_uint64_t_u((safe_add_func_int32_t_s_s((((**l_446)--) , (safe_mod_func_int16_t_s_s((+(l_765 ^ (l_766 == (void*)0))), (-1L)))), ((safe_sub_func_int64_t_s_s((safe_lshift_func_uint8_t_u_u(8UL, 7)), l_771)) | (g_393[1][0].f2 , ((safe_sub_func_uint16_t_u_u((g_312.f0 , l_774), (*l_523))) < (*l_523))))))))))
                { /* block id: 314 */
                    struct S0 ***l_782[5];
                    const int32_t l_798[5][7][7] = {{{1L,0x3606B92AL,3L,(-1L),(-9L),2L,(-1L)},{1L,(-1L),(-2L),(-9L),0x19D7F91DL,0L,0L},{(-1L),(-10L),3L,(-1L),0L,0L,(-10L)},{(-8L),(-1L),0x76D1130FL,0x7D817326L,(-1L),(-5L),0x0238F0ABL},{2L,4L,0x19D7F91DL,(-1L),0x76D1130FL,0x1E0303D0L,(-9L)},{0x2439C395L,1L,(-1L),0x3606B92AL,0x8A28D625L,0x1E0303D0L,(-1L)},{(-2L),(-1L),1L,0x19D7F91DL,1L,(-5L),0x170A98B6L}},{{0L,0x5D768D63L,0L,0L,0x5D768D63L,0L,(-1L)},{1L,(-9L),(-1L),0L,(-10L),0L,(-1L)},{0L,0L,0x19D7F91DL,0x5808589DL,(-1L),2L,0x2439C395L},{4L,(-9L),(-4L),0x0238F0ABL,2L,1L,(-1L)},{1L,0x5D768D63L,5L,(-1L),(-1L),1L,(-1L)},{(-9L),(-1L),0x45E386C1L,0L,0L,1L,0L},{0L,1L,0L,(-8L),0L,5L,1L}},{{0L,4L,0x76D1130FL,(-4L),(-1L),0x24947A26L,0x24947A26L},{2L,(-1L),(-1L),(-1L),2L,0x1E0303D0L,(-1L)},{5L,(-10L),0L,0x3606B92AL,0L,0L,0L},{(-5L),0x24947A26L,(-1L),0x5D768D63L,2L,0L,0L},{(-1L),1L,(-2L),0x45E386C1L,1L,(-1L),0L},{0L,(-1L),0x332C76A9L,(-10L),1L,0x76D1130FL,1L},{0x3606B92AL,0L,0x5D768D63L,0L,1L,0L,(-8L)}},{{1L,(-9L),3L,0L,5L,0x45E386C1L,0L},{(-2L),1L,0L,(-10L),0x24947A26L,5L,0x24947A26L},{0x45E386C1L,(-5L),(-5L),0x45E386C1L,0x1E0303D0L,(-4L),0L},{(-2L),0x76D1130FL,(-8L),0x5D768D63L,0x7D817326L,0x19D7F91DL,0x76D1130FL},{0x3606B92AL,0x332C76A9L,0x170A98B6L,1L,0x0238F0ABL,(-1L),0L},{3L,0L,(-4L),0x332C76A9L,5L,0L,0x24947A26L},{(-8L),2L,(-2L),(-1L),0x18666C19L,1L,0L}},{{0x5808589DL,(-5L),(-2L),(-4L),2L,(-1L),(-8L)},{0x19D7F91DL,(-9L),(-2L),(-1L),1L,0x19D7F91DL,1L},{0L,(-2L),(-2L),0L,0x76D1130FL,0x76D1130FL,0L},{(-4L),0x8A28D625L,(-4L),0L,0L,3L,0L},{0x332C76A9L,(-9L),0x170A98B6L,0L,0x2439C395L,(-2L),0L},{0x45E386C1L,1L,(-8L),8L,0x24947A26L,3L,(-5L)},{(-1L),0x0238F0ABL,(-5L),(-1L),0x7D817326L,0x76D1130FL,(-1L)}}};
                    int16_t *l_828 = &g_22;
                    int16_t *l_829 = (void*)0;
                    int16_t *l_830 = &l_624;
                    int32_t l_835 = 0xB8281623L;
                    int32_t l_836 = 0x8F753518L;
                    int32_t ****l_847 = &l_679;
                    int i, j, k;
                    for (i = 0; i < 5; i++)
                        l_782[i] = &g_780[0];
                    for (g_152.f0 = 0; (g_152.f0 != 6); ++g_152.f0)
                    { /* block id: 317 */
                        return g_777;
                    }
                    if ((l_765 && (((safe_sub_func_int64_t_s_s((*g_727), (((*g_471) = (*l_523)) || ((*l_484) = (((&g_728 == (g_780[0] = g_780[0])) , (safe_add_func_int8_t_s_s((l_532[5] = ((l_765 == (p_64 > (safe_mul_func_uint32_t_u_u((safe_add_func_uint64_t_u_u(((l_789[1] = l_789[2]) , (l_790 == l_791)), (*l_484))), 0L)))) || l_793[0])), 255UL))) != (*l_523)))))) != (*l_523)) != 0x8EB49F9DL)))
                    { /* block id: 325 */
                        if (g_22)
                            goto lbl_794;
                        p_66 = (*p_65);
                    }
                    else
                    { /* block id: 328 */
                        int16_t *l_797 = &l_448[3];
                        int32_t l_814[3][1][9] = {{{(-1L),1L,(-1L),1L,(-1L),1L,(-1L),1L,(-1L)}},{{3L,0xF2360A12L,0xF2360A12L,3L,3L,0xF2360A12L,0xF2360A12L,3L,3L}},{{0x5BACE88AL,1L,0x5BACE88AL,1L,0x5BACE88AL,1L,0x5BACE88AL,1L,0x5BACE88AL}}};
                        int i, j, k;
                        (*l_484) = ((g_409 > (safe_sub_func_int16_t_s_s(((*l_797) |= (-3L)), (l_798[4][3][3] <= (((safe_unary_minus_func_int64_t_s((safe_add_func_int32_t_s_s(((&g_727 == l_802[0]) >= (safe_rshift_func_uint8_t_u_s(250UL, 4))), (((((safe_lshift_func_int16_t_s_s((safe_mod_func_int32_t_s_s(((p_66 | p_62) || ((((safe_mul_func_uint32_t_u_u(((safe_mod_func_uint8_t_u_u((((*g_727) > (*g_597)) || g_163.f4), (**g_470))) , l_798[1][4][6]), (*l_523))) || p_64) | l_814[2][0][4]) >= (*l_523))), l_798[4][3][1])), p_62)) < 0L) ^ p_64) < l_814[2][0][4]) >= p_62))))) || p_63) <= 255UL))))) || p_66);
                    }
                    if ((((*g_597)++) >= (0UL >= (l_798[4][3][3] == (((65531UL > (*l_523)) == ((*l_830) = ((*l_828) |= (l_642 = (((**l_446) = (safe_lshift_func_uint64_t_u_u((safe_lshift_func_int8_t_s_u(((*g_471) |= ((l_798[4][3][3] ^ (safe_rshift_func_uint32_t_u_s(((g_572.f0 < (safe_rshift_func_int64_t_s_u((~(*l_523)), (*l_523)))) > p_64), 29))) , (-1L))), 1)), p_63))) , g_163.f0))))) == (*l_523))))))
                    { /* block id: 338 */
                        uint8_t l_831 = 0xA0L;
                        struct S0 l_834 = {0xDE68D24DD5333509LL};
                        int32_t l_837[1][9] = {{0xCAB8012CL,0xCAB8012CL,0xCAB8012CL,0xCAB8012CL,0xCAB8012CL,0xCAB8012CL,0xCAB8012CL,0xCAB8012CL,0xCAB8012CL}};
                        int16_t l_838[3];
                        int i, j;
                        for (i = 0; i < 3; i++)
                            l_838[i] = 0xC44BL;
                        --l_831;
                        (*l_484) |= ((void*)0 == &g_501[4]);
                        l_834 = l_789[2];
                        l_841++;
                    }
                    else
                    { /* block id: 343 */
                        int32_t *l_844 = (void*)0;
                        (*g_520) = l_844;
                        (*g_845) = ((**g_519) = &l_532[5]);
                    }
                    p_66 ^= ((*l_484) &= (l_702[0] , ((*l_504) != ((*p_65) , l_847))));
                }
                else
                { /* block id: 350 */
                    uint32_t l_857 = 0x86102620L;
                    uint8_t l_868[7];
                    struct S0 l_869 = {18446744073709551615UL};
                    int i;
                    for (i = 0; i < 7; i++)
                        l_868[i] = 255UL;
                    for (l_485 = 8; (l_485 != 24); l_485 = safe_add_func_int32_t_s_s(l_485, 8))
                    { /* block id: 353 */
                        int64_t l_850 = (-3L);
                        int16_t *l_859 = &g_86;
                        l_850 ^= ((*l_484) = (*p_65));
                        (*l_484) = (safe_mul_func_int8_t_s_s(p_63, ((*l_523) ^ (((*l_859) = (l_857 < (!(*p_65)))) < (safe_mod_func_int16_t_s_s((safe_div_func_int64_t_s_s(((g_152.f0 <= (safe_rshift_func_uint16_t_u_s(((!(!(l_868[5] = (((*g_597) >= p_64) || (l_789[2] , ((((((((*l_791) != (*g_450)) || (*l_523)) | g_572.f0) & 1UL) > p_64) && 255UL) == (*g_597))))))) , p_66), g_257))) , (*g_727)), (*l_523))), 0x9F2CL))))));
                    }
                    (*l_484) = ((*g_727) , (0x9BL & p_64));
                    return l_869;
                }
                (**g_519) = (*g_520);
            }
        }
        else
        { /* block id: 365 */
            struct S0 l_874 = {18446744073709551607UL};
            l_652 ^= (-6L);
            g_870 = &g_29;
            for (l_529 = 2; (l_529 > 26); l_529 = safe_add_func_int8_t_s_s(l_529, 4))
            { /* block id: 370 */
                int32_t *l_876 = &g_15;
                (*g_875) = l_874;
                (***g_518) = l_876;
                (***g_518) = &p_66;
            }
        }
        if ((&p_66 != (((((*g_597)++) > (((((*l_879) = &g_140) == (*g_508)) < (safe_sub_func_int8_t_s_s((((((void*)0 != g_882) < (safe_div_func_int32_t_s_s(1L, (safe_mul_func_int32_t_s_s((*p_65), (*l_484)))))) != (l_447 , g_163.f6)) == 0x4AB6L), 1L))) || (*g_95))) , g_888[5][2]) , (void*)0)))
        { /* block id: 378 */
            int32_t l_919 = 0x04CA79E5L;
            struct S1 **l_933[6];
            int32_t l_940 = 0L;
            struct S0 l_950 = {0x387062700CF4BC9CLL};
            int64_t *l_975 = (void*)0;
            int i;
            for (i = 0; i < 6; i++)
                l_933[i] = &g_167[0][6][2];
            for (g_86 = 0; (g_86 > (-20)); g_86 = safe_sub_func_uint32_t_u_u(g_86, 1))
            { /* block id: 381 */
                int32_t *****l_893 = &l_879;
                int32_t *l_930 = &l_541;
                const struct S0 l_971 = {0x5E0EF180E02BB47BLL};
                uint32_t l_1027 = 0UL;
                const uint8_t *l_1030 = &g_218;
                if ((safe_rshift_func_int16_t_s_s(((*l_484) && (l_893 == (g_896 = l_894))), 11)))
                { /* block id: 383 */
                    uint64_t ***l_900 = &l_594;
                    int32_t *l_904[4][2][1] = {{{&l_533},{&l_643}},{{&l_643},{&l_533}},{{&l_643},{&l_643}},{{&l_533},{&l_643}}};
                    int i, j, k;
                    l_645 = (((((p_64 <= (**g_470)) < p_62) && p_62) | (((safe_lshift_func_int32_t_s_s(0x4A861299L, ((((*l_900) = &l_595) != &l_595) , ((*l_484) = ((((p_64 < (safe_sub_func_int8_t_s_s((((((~0xCAB9L) >= 1UL) <= 0xA0919AF0D97B4BCALL) == 0x2684301EL) >= p_62), 0x14L))) > 0UL) >= 8L) , (*p_65)))))) != g_2[2][1]) ^ (*p_65))) & 0L);
                }
                else
                { /* block id: 387 */
                    const int32_t ****l_917 = (void*)0;
                    const int32_t ***l_918 = (void*)0;
                    int32_t l_920 = 0x27158BB7L;
                    int16_t *l_921 = &l_448[4];
                    (*l_484) = (((void*)0 != &l_803) == ((*l_921) |= (p_66 == (safe_div_func_uint16_t_u_u((safe_unary_minus_func_int32_t_s((p_63 <= ((safe_add_func_uint32_t_u_u((0x2F64ADCDF0EA3667LL <= ((safe_lshift_func_uint32_t_u_s((p_62 | (((l_918 = l_914) == &g_753) , l_919)), l_919)) , l_920)), 0xB2176E85L)) > l_919)))), g_312.f4)))));
                }
                (*l_930) ^= ((p_62 < (0xF980L ^ (safe_add_func_uint32_t_u_u(((-1L) != ((((((g_218 |= p_62) || l_919) , (((*g_727) > ((*l_803) = (safe_add_func_uint64_t_u_u(((*g_597) , 0xA67665D2248F8E9FLL), ((((safe_div_func_int64_t_s_s((safe_sub_func_uint16_t_u_u(((*p_65) != p_64), 0x2A07L)), 18446744073709551615UL)) > g_152.f0) < p_63) != (-9L)))))) | p_63)) , l_702[3]) , 0x17F1D75EL) || (*l_484))), (*p_65))))) == (-2L));
                if ((safe_div_func_int64_t_s_s((l_919 != (l_933[3] != l_933[2])), ((safe_div_func_int8_t_s_s((*g_471), ((safe_sub_func_int16_t_s_s((safe_mul_func_uint64_t_u_u(((((l_940 = p_62) == 0UL) | (((safe_div_func_int32_t_s_s(0xA1CEC1ABL, ((*g_502) = (safe_div_func_uint16_t_u_u((g_572.f5 != (g_572.f0 > (-2L))), g_82))))) , (*g_597)) < p_63)) , p_64), p_64)), p_66)) && l_940))) || l_940))))
                { /* block id: 397 */
                    struct S0 *l_945 = &l_447;
                    int32_t l_983[8] = {0xC4A889F1L,0xC4A889F1L,0xC4A889F1L,0xC4A889F1L,0xC4A889F1L,0xC4A889F1L,0xC4A889F1L,0xC4A889F1L};
                    int32_t l_984 = 1L;
                    int i;
                    (*l_945) = (*g_875);
                    (*l_484) &= 0xB4FF9382L;
                    for (l_537 = 0; (l_537 != 27); l_537 = safe_add_func_int8_t_s_s(l_537, 3))
                    { /* block id: 402 */
                        struct S1 *l_948[9][5][5] = {{{&g_572,(void*)0,&g_949,&g_572,&g_163},{&g_572,(void*)0,&g_163,&g_949,&g_949},{&g_949,&g_572,&g_949,&g_572,&g_163},{(void*)0,&g_949,&g_163,(void*)0,&g_949},{&g_572,&g_572,&g_572,(void*)0,&g_163}},{{&g_949,&g_163,&g_163,&g_949,&g_572},{&g_163,&g_572,&g_949,(void*)0,&g_572},{(void*)0,&g_949,&g_163,&g_572,(void*)0},{&g_572,&g_163,&g_572,(void*)0,&g_572},{&g_949,&g_949,&g_949,&g_949,&g_949}},{{(void*)0,(void*)0,&g_163,&g_572,&g_949},{&g_949,&g_163,&g_949,(void*)0,&g_949},{&g_163,&g_163,&g_163,&g_572,&g_163},{(void*)0,&g_949,&g_949,&g_949,(void*)0},{&g_572,(void*)0,(void*)0,(void*)0,&g_572}},{{&g_949,&g_949,&g_572,&g_163,&g_949},{&g_572,&g_163,&g_163,&g_163,(void*)0},{(void*)0,&g_163,&g_949,&g_572,&g_949},{&g_163,(void*)0,&g_572,&g_949,&g_949},{&g_163,&g_949,&g_572,&g_163,&g_572}},{{&g_163,&g_163,&g_163,&g_163,(void*)0},{&g_949,&g_949,(void*)0,(void*)0,&g_949},{&g_163,&g_572,&g_163,(void*)0,&g_949},{&g_949,&g_163,&g_572,&g_163,(void*)0},{(void*)0,&g_572,(void*)0,(void*)0,&g_949}},{{&g_949,&g_949,&g_949,&g_163,&g_949},{&g_163,&g_572,&g_572,&g_949,&g_163},{&g_949,&g_949,&g_949,&g_163,&g_949},{&g_163,(void*)0,&g_572,&g_163,&g_572},{&g_163,&g_949,&g_163,&g_163,&g_949}},{{&g_163,&g_163,&g_163,&g_163,&g_163},{(void*)0,&g_163,&g_949,&g_163,(void*)0},{&g_572,&g_572,&g_572,&g_572,&g_163},{&g_949,&g_949,(void*)0,&g_949,&g_572},{&g_572,&g_163,&g_572,&g_572,&g_163}},{{(void*)0,&g_949,&g_949,&g_949,(void*)0},{&g_163,&g_163,&g_163,(void*)0,&g_163},{&g_949,&g_949,&g_949,&g_163,&g_949},{(void*)0,&g_163,&g_949,&g_163,&g_572},{&g_949,&g_572,&g_949,&g_949,&g_949}},{{&g_949,&g_163,&g_949,&g_163,&g_163},{&g_949,&g_949,&g_949,&g_949,&g_949},{&g_163,&g_163,&g_572,(void*)0,(void*)0},{&g_163,&g_163,&g_949,&g_949,&g_949},{&g_949,&g_949,(void*)0,(void*)0,&g_572}}};
                        int i, j, k;
                        if ((*p_65))
                            break;
                        l_948[3][2][4] = (*g_166);
                        return l_950;
                    }
                    for (l_438 = (-19); (l_438 != (-24)); l_438 = safe_sub_func_uint64_t_u_u(l_438, 5))
                    { /* block id: 409 */
                        uint32_t *l_953 = (void*)0;
                        uint32_t *l_954 = &l_432[6][0];
                        int32_t **l_963 = &g_81;
                        int32_t l_972 = 0x1F0A74E4L;
                        uint16_t l_973 = 0xEB48L;
                        int16_t *l_981 = (void*)0;
                        int16_t *l_982[8][6] = {{&g_22,&g_22,&l_624,&g_22,&g_22,&g_22},{(void*)0,&g_22,&l_624,&g_22,&g_86,(void*)0},{&g_22,&l_624,&g_86,&g_22,(void*)0,(void*)0},{&l_448[3],&l_624,&l_624,&l_448[3],&g_22,&g_22},{(void*)0,(void*)0,&l_624,&l_448[3],&g_22,&g_86},{&l_624,&g_22,&g_22,&l_624,&g_22,&l_624},{(void*)0,(void*)0,(void*)0,&l_448[8],&g_22,&g_22},{&g_22,&l_624,&g_22,&g_86,(void*)0,&g_22}};
                        int i, j;
                        l_648 |= (((((((((*l_954) &= 0xA555246CL) , (safe_sub_func_int64_t_s_s(((*l_803) = (*g_882)), ((*g_727) = (safe_sub_func_int8_t_s_s(((safe_lshift_func_int8_t_s_s(((*g_471) = (*g_471)), ((p_64 ^ p_62) , (safe_lshift_func_int32_t_s_u((((g_437 = (((*l_963) = &l_919) != l_484)) <= (safe_unary_minus_func_int16_t_s((((safe_mul_func_int32_t_s_s((safe_mod_func_int32_t_s_s((safe_rshift_func_int32_t_s_u((*p_65), (l_971 , 0xF50C1032L))), (*g_502))), 4294967290UL)) & l_972) || 0x2A9CB7D2L)))) == p_64), p_64))))) < (*g_597)), p_66)))))) , p_62) , &p_63) == &p_63) && l_950.f0) > g_82) & 1L);
                        if (l_972)
                            continue;
                        l_984 = ((l_973 == ((l_974 , l_975) == (*l_723))) <= ((+p_66) > ((((safe_rshift_func_uint64_t_u_s(0x2FCDB299CC10211CLL, 53)) & (((g_358 , (l_983[1] = (((((safe_rshift_func_uint32_t_u_u((*g_502), 9)) == 2UL) , g_312.f9) ^ g_949.f6) == 0x18L))) , l_919) , g_152.f0)) & (*p_65)) < p_63)));
                    }
                }
                else
                { /* block id: 421 */
                    int16_t l_1029 = 1L;
                    int16_t *l_1033 = &l_448[3];
                    (*l_930) |= (((l_985[1] = l_985[0]) != ((*g_166) = (*g_166))) != ((safe_div_func_uint8_t_u_u((((safe_sub_func_int64_t_s_s((safe_mod_func_int32_t_s_s((safe_lshift_func_uint8_t_u_u(g_21[8][1], 5)), (((((*g_597)++) , ((l_940 |= p_64) > ((*l_803) = (!(&l_525 == ((((g_82 , ((*p_65) > (safe_unary_minus_func_int8_t_s(0L)))) , (((l_998[1][1][0] | g_79) != 0x9F80L) | p_63)) >= p_64) , &l_525)))))) > 4L) , (*p_65)))), p_62)) , (-4L)) ^ 0xB0412051L), g_949.f6)) || (*g_471)));
                    if ((safe_lshift_func_uint32_t_u_u((p_63 < (((safe_lshift_func_int8_t_s_u(((void*)0 != &l_418), ((safe_add_func_uint16_t_u_u((safe_rshift_func_uint8_t_u_s((+(((*l_1033) = ((((safe_rshift_func_int8_t_s_s((safe_add_func_int8_t_s_s((p_63 | ((*l_930) , (safe_mod_func_int8_t_s_s(((safe_mod_func_uint8_t_u_u((safe_mod_func_uint8_t_u_u((safe_sub_func_int16_t_s_s((+((*g_471) == (((((g_949.f4 >= (safe_lshift_func_uint8_t_u_s((((safe_add_func_uint8_t_u_u(((safe_div_func_int16_t_s_s(l_1027, (g_1028 , l_919))) ^ 6UL), 2UL)) , 0x7FB5L) < l_1029), 5))) , l_1030) == &l_653) ^ (*l_930)) > l_950.f0))), 0xBEEAL)), p_63)), 5L)) && p_62), g_949.f6)))), 7L)), 5)) ^ l_1031) , g_1032[0][0][0]) , p_64)) | l_940)), p_62)), 8UL)) && 0xE966DA6682608420LL))) != p_62) != 6L)), (*g_502))))
                    { /* block id: 429 */
                        return l_702[2];
                    }
                    else
                    { /* block id: 431 */
                        (**g_519) = (void*)0;
                    }
                    return l_950;
                }
            }
        }
        else
        { /* block id: 437 */
            int16_t *l_1034 = &g_86;
            uint16_t *l_1047 = &l_488;
            int32_t l_1048 = 0x6BF0F7C9L;
            struct S0 l_1050 = {0UL};
            (*l_484) = (l_447 , ((((*l_1034) = g_949.f3) != (1UL || (safe_add_func_uint32_t_u_u(4294967287UL, ((safe_sub_func_uint8_t_u_u(g_572.f4, ((safe_unary_minus_func_int32_t_s((l_1049 |= (safe_sub_func_int8_t_s_s(((**g_470) != (((safe_sub_func_uint64_t_u_u((p_64 = ((!(safe_add_func_uint16_t_u_u(g_163.f0, ((((*l_1047) = ((*l_436) = g_218)) < ((65528UL <= g_949.f4) >= l_1048)) | g_163.f0)))) | (*p_65))), 18446744073709551615UL)) & (-1L)) > g_163.f0)), p_62))))) , p_64))) && (**g_470)))))) <= p_63));
            l_1050 = l_702[3];
        }
        (*g_1052) = g_1051;
    }
    else
    { /* block id: 447 */
        uint64_t *****l_1055 = &l_1053;
        uint64_t ****l_1066 = (void*)0;
        uint32_t ***l_1078 = &g_501[8];
        int32_t l_1079 = (-6L);
        uint8_t *l_1080 = &g_216;
        uint8_t *l_1081 = &g_871.f3;
        int16_t l_1082 = (-6L);
        int32_t ***l_1087 = (void*)0;
        int64_t *l_1092 = (void*)0;
        int64_t **l_1091 = &l_1092;
        int64_t ***l_1090 = &l_1091;
        int32_t l_1095[10] = {0x2B777B5DL,0xCCD5985FL,1L,0xCCD5985FL,0x2B777B5DL,0x2B777B5DL,0xCCD5985FL,1L,0xCCD5985FL,0x2B777B5DL};
        int8_t l_1122 = 0x2EL;
        struct S0 l_1206[7][7] = {{{5UL},{0xFAF872845C0DD514LL},{0x32AB1818B834003ELL},{0x26B812D5C3AB0E8FLL},{0xFAF872845C0DD514LL},{0xFAF872845C0DD514LL},{0x26B812D5C3AB0E8FLL}},{{18446744073709551615UL},{0x0103557907EC2AB1LL},{18446744073709551615UL},{0x83C8047335C70830LL},{0x044CF540B543660DLL},{0x83C8047335C70830LL},{18446744073709551615UL}},{{5UL},{0x26B812D5C3AB0E8FLL},{18446744073709551611UL},{5UL},{5UL},{18446744073709551611UL},{0x26B812D5C3AB0E8FLL}},{{2UL},{0x83C8047335C70830LL},{18446744073709551606UL},{0x0103557907EC2AB1LL},{18446744073709551606UL},{0x83C8047335C70830LL},{2UL}},{{0xFAF872845C0DD514LL},{5UL},{0x32AB1818B834003ELL},{0x32AB1818B834003ELL},{5UL},{0xFAF872845C0DD514LL},{0x32AB1818B834003ELL}},{{0x044CF540B543660DLL},{0x0103557907EC2AB1LL},{0xEF74BABFC852B60DLL},{0x0103557907EC2AB1LL},{0x044CF540B543660DLL},{0xFBB0D05AB52D9747LL},{0x044CF540B543660DLL}},{{5UL},{0x32AB1818B834003ELL},{0x32AB1818B834003ELL},{5UL},{0xFAF872845C0DD514LL},{0x32AB1818B834003ELL},{0x26B812D5C3AB0E8FLL}}};
        int16_t l_1264 = 0x4294L;
        int i, j;
        (*l_1055) = l_1053;
        for (l_543 = 0; (l_543 == (-1)); l_543 = safe_sub_func_uint16_t_u_u(l_543, 4))
        { /* block id: 451 */
            struct S0 l_1058 = {5UL};
            return l_1058;
        }
        (**g_519) = ((((((safe_rshift_func_uint8_t_u_s((safe_div_func_int64_t_s_s((((0xED7AL ^ (((safe_lshift_func_uint8_t_u_s((~((((**l_1055) = (**l_1055)) != (g_1067[0] = (void*)0)) | (((~((safe_add_func_uint32_t_u_u(((safe_add_func_int8_t_s_s(((*g_471) = (*g_471)), ((*l_1081) = ((*l_1080) = (((((safe_mod_func_int8_t_s_s(((g_136.f0 , &p_62) != ((((((*l_484) = ((safe_rshift_func_int32_t_s_u(((void*)0 != &g_727), 22)) , ((l_1077 == l_1078) < 0xEDEC193616818B68LL))) < (-4L)) , &g_780[0]) != &g_780[0]) , &p_62)), p_64)) > l_1079) <= 1UL) | (*p_65)) || l_1079))))) , 0xF21FA2C7L), 2UL)) <= l_1079)) , l_1082) ^ g_21[8][0]))), 0)) != 0x250BL) > p_63)) <= 1UL) < p_63), l_1079)), l_1079)) >= 0L) == 0x094CL) > 1UL) , (-5L)) , &l_1079);
        if (((l_1090 = ((safe_sub_func_int32_t_s_s((-1L), ((((((safe_div_func_uint32_t_u_u(0xD820C8CCL, ((((*g_508) == l_1087) , (0x980AEB9CL & (l_1088 == l_1089))) || (*g_471)))) , (**l_1055)) != (void*)0) & p_64) && p_63) & p_64))) , (void*)0)) != &g_726))
        { /* block id: 462 */
            int32_t *l_1093 = &g_1028.f0;
            int32_t *l_1094[10][3];
            uint16_t l_1096[1][7];
            int i, j;
            for (i = 0; i < 10; i++)
            {
                for (j = 0; j < 3; j++)
                    l_1094[i][j] = &g_1028.f0;
            }
            for (i = 0; i < 1; i++)
            {
                for (j = 0; j < 7; j++)
                    l_1096[i][j] = 0x5349L;
            }
            l_1096[0][6]--;
            p_65 = &p_66;
            (*l_1093) |= 0x08C2E000L;
        }
        else
        { /* block id: 466 */
            const struct S1 **l_1099 = (void*)0;
            const struct S1 ***l_1103[10] = {&g_1101,(void*)0,&g_1101,&g_1101,(void*)0,&g_1101,&g_1101,(void*)0,&g_1101,&g_1101};
            uint8_t *l_1131 = &g_218;
            int32_t l_1134[10][6][4] = {{{0xBE8F9973L,0x5DAAE37BL,0x8471D57CL,(-1L)},{(-7L),(-7L),7L,0xEC3E1DF8L},{0xC9C8D6C5L,8L,(-3L),(-9L)},{0x5ADF1908L,0xBE8F9973L,0x909F026EL,(-9L)},{(-9L),0x23F65117L,0xC9C8D6C5L,0x122D73C6L},{1L,(-1L),5L,6L}},{{(-1L),0xBE8F9973L,1L,0xBE8F9973L},{(-1L),0xC9C8D6C5L,(-1L),0xEC3E1DF8L},{(-1L),0x58D8DF9EL,0x50ABAB71L,0xF4180AF5L},{0xEC3E1DF8L,0x5DAAE37BL,(-1L),0xC4A9BC12L},{0xEC3E1DF8L,(-3L),0x50ABAB71L,(-1L)},{(-1L),0xC4A9BC12L,(-1L),(-1L)}},{{(-1L),0x50ABAB71L,0x5ADF1908L,7L},{(-9L),0x909F026EL,0x8649BC27L,0x271A1997L},{1L,5L,1L,0x8471D57CL},{0x50ABAB71L,(-1L),(-1L),7L},{(-10L),0x6FFAED4BL,3L,(-3L)},{1L,0xC9C8D6C5L,1L,0x909F026EL}},{{0x271A1997L,(-10L),0xEC3E1DF8L,0xC9C8D6C5L},{(-1L),(-4L),(-10L),5L},{0x8471D57CL,0xF4180AF5L,1L,1L},{1L,1L,(-1L),(-1L)},{(-10L),0xC08E9D8CL,(-1L),0x50ABAB71L},{0x6FFAED4BL,(-9L),1L,(-1L)}},{{0x054B4905L,(-9L),(-9L),0x50ABAB71L},{(-9L),0xC08E9D8CL,0xE71592ECL,(-1L)},{(-1L),1L,0x89D2DA1CL,1L},{(-3L),0xF4180AF5L,(-7L),5L},{(-1L),(-4L),0xBCF016E6L,0xC9C8D6C5L},{1L,(-10L),(-4L),0x909F026EL}},{{(-3L),0xC9C8D6C5L,8L,(-3L)},{0x39280F3CL,0x6FFAED4BL,0xE71592ECL,7L},{0xBCF016E6L,(-1L),0x8649BC27L,0x8471D57CL},{0x054B4905L,5L,(-1L),0x271A1997L},{0x50ABAB71L,0x909F026EL,(-1L),7L},{3L,0x50ABAB71L,3L,0xE71592ECL}},{{1L,0xC9C8D6C5L,0L,(-1L)},{0x271A1997L,3L,(-10L),0xC9C8D6C5L},{0xC08E9D8CL,1L,(-10L),0L},{0x271A1997L,0xF4180AF5L,0L,(-1L)},{1L,1L,3L,(-1L)},{3L,(-1L),(-1L),0x6FFAED4BL}},{{0x50ABAB71L,(-9L),(-1L),0x23F65117L},{0x054B4905L,0xBCF016E6L,0x8649BC27L,0x50ABAB71L},{0xBCF016E6L,(-1L),0xE71592ECL,0xC08E9D8CL},{0x39280F3CL,1L,8L,(-1L)},{(-3L),0x5FBD3C8CL,(-4L),5L},{1L,1L,0xBCF016E6L,0x89D2DA1CL}},{{(-1L),(-10L),(-7L),(-1L)},{(-3L),0x89D2DA1CL,0x89D2DA1CL,(-3L)},{(-1L),0x50ABAB71L,0xE71592ECL,(-10L)},{(-9L),(-1L),(-9L),0x271A1997L},{0x054B4905L,0L,1L,0x271A1997L},{0x6FFAED4BL,(-1L),(-1L),(-10L)}},{{(-10L),0x50ABAB71L,(-1L),(-3L)},{1L,0x89D2DA1CL,1L,(-1L)},{0x8471D57CL,(-10L),(-10L),0x89D2DA1CL},{(-1L),1L,0xEC3E1DF8L,5L},{0x271A1997L,0x5FBD3C8CL,1L,(-1L)},{1L,1L,3L,8L}}};
            int32_t ***l_1166 = &g_140;
            int32_t l_1204[9] = {0x2438F0F9L,1L,0x2438F0F9L,1L,0x2438F0F9L,1L,0x2438F0F9L,1L,0x2438F0F9L};
            int16_t l_1263 = (-1L);
            int16_t l_1266 = (-1L);
            struct S0 l_1267 = {18446744073709551609UL};
            int i, j, k;
            l_1104 = l_1099;
            if (((*l_484) = (*l_484)))
            { /* block id: 469 */
                int32_t l_1112 = 0x03AC6F15L;
                int32_t l_1170 = 0x73D161C0L;
                int32_t l_1175 = 0xAC5A441BL;
                for (g_22 = 0; (g_22 <= 6); g_22 += 1)
                { /* block id: 472 */
                    uint8_t *l_1114 = &g_218;
                    int32_t l_1130 = 0xE6C38B78L;
                    struct S0 l_1146 = {0xD52F60C2D7BBD47DLL};
                    int32_t ***l_1167[5][7][4] = {{{&g_140,&g_140,&g_140,&g_140},{&g_140,&g_140,&g_140,&g_140},{&g_140,&g_140,&g_140,&g_140},{&g_140,&g_140,&g_140,&g_140},{&g_140,&g_140,&g_140,&g_140},{&g_140,&g_140,&g_140,&g_140},{&g_140,&g_140,&g_140,&g_140}},{{&g_140,&g_140,&g_140,&g_140},{&g_140,&g_140,&g_140,&g_140},{&g_140,&g_140,&g_140,&g_140},{&g_140,&g_140,&g_140,&g_140},{&g_140,&g_140,&g_140,&g_140},{&g_140,&g_140,&g_140,&g_140},{&g_140,&g_140,&g_140,&g_140}},{{&g_140,&g_140,&g_140,&g_140},{&g_140,&g_140,&g_140,&g_140},{&g_140,&g_140,&g_140,&g_140},{&g_140,&g_140,&g_140,&g_140},{&g_140,&g_140,&g_140,&g_140},{&g_140,&g_140,&g_140,&g_140},{&g_140,&g_140,&g_140,&g_140}},{{&g_140,&g_140,&g_140,&g_140},{&g_140,&g_140,&g_140,&g_140},{&g_140,&g_140,&g_140,&g_140},{&g_140,&g_140,&g_140,&g_140},{&g_140,&g_140,&g_140,&g_140},{&g_140,&g_140,&g_140,&g_140},{&g_140,&g_140,&g_140,&g_140}},{{&g_140,&g_140,&g_140,&g_140},{&g_140,&g_140,&g_140,&g_140},{&g_140,&g_140,&g_140,&g_140},{&g_140,&g_140,&g_140,&g_140},{&g_140,&g_140,&g_140,&g_140},{&g_140,&g_140,&g_140,&g_140},{&g_140,&g_140,&g_140,&g_140}}};
                    int i, j, k;
                    for (g_871.f1 = 6; (g_871.f1 >= 1); g_871.f1 -= 1)
                    { /* block id: 475 */
                        struct S0 l_1125 = {0x3B8B04937E180EF5LL};
                        int i;
                        p_66 ^= ((safe_rshift_func_uint32_t_u_s((((***l_1054)++) == (safe_sub_func_int16_t_s_s((l_1111[4] && (1UL | l_1112)), (safe_unary_minus_func_uint16_t_u((l_1114 != (((safe_lshift_func_int32_t_s_u((*p_65), (safe_div_func_uint32_t_u_u((~(safe_sub_func_uint64_t_u_u(l_1122, (((safe_add_func_uint8_t_u_u((l_1125 , ((*l_1080) = (safe_rshift_func_int64_t_s_u((safe_sub_func_int32_t_s_s((l_1130 = ((**g_520) < 1UL)), 0xAF9277BCL)), 63)))), 0xBBL)) | 0xE503E5B4L) | (**g_470))))), 0x00CA1595L)))) || g_86) , l_1131))))))), 21)) & (*g_597));
                    }
                    if (((((***l_1078)--) || (l_1134[5][1][1] != ((*l_1114) = ((l_1130 = ((((safe_add_func_int8_t_s_s((**g_470), ((l_1095[0] , ((((safe_mul_func_uint8_t_u_u((safe_unary_minus_func_uint8_t_u(((*g_471) > ((void*)0 != &p_64)))), ((p_66 == (((safe_rshift_func_uint8_t_u_u((safe_sub_func_int32_t_s_s(0L, (safe_rshift_func_uint32_t_u_u(((*g_502) ^= 0x05F787D7L), p_62)))), 4)) | p_63) ^ l_1112)) , 0x8AL))) < 9UL) == (*p_65)) , p_64)) == g_15))) <= g_17) > g_15) >= 6UL)) & (**g_726))))) || (*l_484)))
                    { /* block id: 485 */
                        return l_1146;
                    }
                    else
                    { /* block id: 487 */
                        int16_t *l_1169 = &l_1082;
                        struct S0 *l_1173 = (void*)0;
                        struct S0 *l_1174 = &l_702[3];
                        (*l_484) ^= (+(safe_mul_func_int32_t_s_s(0x6D024D2AL, p_62)));
                        l_1170 |= ((safe_rshift_func_uint16_t_u_s((+((~(safe_mul_func_int32_t_s_s((*p_65), ((safe_mul_func_uint16_t_u_u((((safe_div_func_uint64_t_u_u(((p_64 > ((((safe_add_func_uint8_t_u_u((safe_sub_func_uint16_t_u_u(0UL, p_62)), (safe_div_func_int16_t_s_s(((*l_1169) = (((-6L) != (p_62 >= (((*l_436) = p_66) >= ((l_1167[4][0][2] = l_1166) != (g_1168 , (**l_504)))))) == g_21[2][1])), p_63)))) , p_64) != 65535UL) || 0xECAA71BFL)) >= p_64), 0x95849B15A4C24302LL)) , (void*)0) == (**l_504)), p_66)) & g_1168.f6)))) > p_64)), p_62)) | p_66);
                        (*l_1174) = l_702[0];
                    }
                    l_1176[0][3][1]--;
                }
                for (g_1028.f0 = (-8); (g_1028.f0 <= 3); g_1028.f0 = safe_add_func_int16_t_s_s(g_1028.f0, 4))
                { /* block id: 499 */
                    if ((*p_65))
                        break;
                    for (l_1082 = 0; (l_1082 >= (-25)); --l_1082)
                    { /* block id: 503 */
                        struct S0 l_1183 = {2UL};
                        return l_1183;
                    }
                }
            }
            else
            { /* block id: 507 */
                int32_t **l_1184 = &g_141[0];
                int8_t *l_1194[10] = {(void*)0,(void*)0,&g_257,&l_438,&g_257,(void*)0,(void*)0,&g_257,&l_438,&g_257};
                int32_t l_1195 = 0L;
                int32_t l_1196[9][4][4] = {{{0xB99BA4C8L,0xE8EC3A9CL,0L,(-6L)},{0xB99BA4C8L,0L,0xE7859F7BL,0xF5EA8248L},{5L,(-9L),0x540716E3L,0xF5EA8248L},{0xEC184BDFL,0L,(-1L),(-6L)}},{{(-6L),0xE8EC3A9CL,(-1L),5L},{0xEC184BDFL,0xE7859F7BL,0x540716E3L,4L},{5L,0xE7859F7BL,0xE7859F7BL,5L},{0xB99BA4C8L,0xE8EC3A9CL,0L,0xF5EA8248L}},{{(-6L),0L,(-9L),4L},{0xB99BA4C8L,0x540716E3L,(-1L),4L},{0L,0L,0L,0xF5EA8248L},{0xF5EA8248L,0xE7859F7BL,0L,0xB99BA4C8L}},{{0L,(-9L),(-1L),0xEC184BDFL},{0xB99BA4C8L,(-9L),(-9L),0xB99BA4C8L},{(-6L),0xE7859F7BL,0L,0xF5EA8248L},{(-6L),0L,(-9L),4L}},{{0xB99BA4C8L,0x540716E3L,(-1L),4L},{0L,0L,0L,0xF5EA8248L},{0xF5EA8248L,0xE7859F7BL,0L,0xB99BA4C8L},{0L,(-9L),(-1L),0xEC184BDFL}},{{0xB99BA4C8L,(-9L),(-9L),0xB99BA4C8L},{(-6L),0xE7859F7BL,0L,0xF5EA8248L},{(-6L),0L,(-9L),4L},{0xB99BA4C8L,0x540716E3L,(-1L),4L}},{{0L,0L,0L,0xF5EA8248L},{0xF5EA8248L,0xE7859F7BL,0L,0xB99BA4C8L},{0L,(-9L),(-1L),0xEC184BDFL},{0xB99BA4C8L,(-9L),(-9L),0xB99BA4C8L}},{{(-6L),0xE7859F7BL,0L,0xF5EA8248L},{(-6L),0L,(-9L),4L},{0xB99BA4C8L,0x540716E3L,(-1L),4L},{0L,0L,0L,0xF5EA8248L}},{{0xF5EA8248L,0xE7859F7BL,0L,0xB99BA4C8L},{0L,(-9L),(-1L),0xEC184BDFL},{0xB99BA4C8L,(-9L),(-9L),0xB99BA4C8L},{(-6L),0xE7859F7BL,0L,0xF5EA8248L}}};
                int64_t l_1205 = 0L;
                uint32_t l_1220 = 0x9A98C024L;
                int32_t l_1232 = 0x515C303AL;
                int i, j, k;
                (**g_1052) |= 1L;
                (*g_520) = &p_66;
                (*g_520) = ((*g_414) = (p_65 = ((*l_1184) = (void*)0)));
                if (((**g_470) != ((-5L) == ((3L & (safe_sub_func_int16_t_s_s(((((**g_726) = p_63) ^ (safe_mul_func_uint16_t_u_u((((safe_mod_func_int32_t_s_s((safe_unary_minus_func_uint8_t_u(g_257)), (safe_rshift_func_int16_t_s_s(((*g_471) || (g_871.f1 = (g_1197 ^= (l_1196[2][0][0] ^= (l_1195 = (-10L)))))), (p_64 <= (safe_mod_func_uint16_t_u_u((safe_mod_func_int32_t_s_s((safe_lshift_func_uint8_t_u_u(0x42L, 4)), p_63)), l_1204[0]))))))) <= 0x91L) < g_572.f0), g_1168.f6))) || l_1205), p_66))) | p_63))))
                { /* block id: 519 */
                    p_66 = p_63;
                    return l_1206[5][6];
                }
                else
                { /* block id: 522 */
                    struct S0 l_1212 = {0xA3F7AB16B7732EB5LL};
                    uint8_t *l_1246 = &g_218;
                    l_1195 = (~(safe_lshift_func_int16_t_s_u(6L, 15)));
                    for (l_1195 = 0; (l_1195 != 18); l_1195++)
                    { /* block id: 526 */
                        (*g_1213) = l_1212;
                    }
                    for (l_653 = 0; (l_653 <= 3); l_653 += 1)
                    { /* block id: 531 */
                        const int32_t l_1243 = (-9L);
                        (*l_484) |= (l_1134[9][4][2] = (p_63 < (((**g_470) == (p_66 < (safe_mul_func_uint64_t_u_u((safe_mul_func_uint32_t_u_u(((safe_lshift_func_uint8_t_u_u((((*g_597) = ((**l_594) = p_66)) & l_1220), 0)) != 0xEF1E3A0AL), (g_163.f6 && (safe_mul_func_uint32_t_u_u((((*l_1131) = (++(*l_1080))) | g_1197), (0x12L <= (*g_471))))))), p_64)))) | (*g_727))));
                        if (p_62)
                            break;
                        (*l_484) &= (safe_mod_func_uint16_t_u_u(((safe_sub_func_uint16_t_u_u(((~((safe_div_func_int32_t_s_s((p_66 ^= l_1232), (safe_mod_func_uint8_t_u_u((0x03L | (l_1212.f0 , (*g_471))), (safe_unary_minus_func_uint64_t_u(9UL)))))) != g_163.f2)) , (--(*l_418))), (((*l_1080) ^= (!(p_64 <= (safe_mul_func_uint64_t_u_u(((((((*g_502)--) && (l_1212.f0 && ((((*g_727) = p_62) & 0x48180519AE109969LL) >= 0x55E8F6A9L))) & p_64) , (-1L)) , 18446744073709551615UL), 18446744073709551614UL))))) <= p_62))) <= l_1243), g_163.f6));
                        if (l_1243)
                            break;
                    }
                    l_1266 |= (g_358.f0 != (safe_add_func_uint32_t_u_u(((g_1265[3] |= (((((*g_471) &= (l_1131 != l_1246)) ^ (+(!((!((((*l_418) = (+((p_64 <= (safe_lshift_func_int8_t_s_u(((p_63 , g_572.f4) ^ (((((!(safe_mod_func_uint16_t_u_u(((*l_436) ^= (((safe_mul_func_uint16_t_u_u(p_63, (safe_add_func_int8_t_s_s(0x84L, (+((safe_div_func_int8_t_s_s((p_64 >= p_64), p_66)) != 0x6D78FE5A4354866CLL)))))) , 0x2B64CAA5L) > p_66)), p_62))) ^ p_62) == 2UL) || 0xDEL) , g_949.f0)), p_64))) == p_66))) & 65526UL) <= 0x7194B360L)) ^ l_1263)))) | 0x02L) ^ l_1264)) || p_63), l_1212.f0)));
                }
            }
            return l_1267;
        }
    }
    return l_1268;
}


/* ------------------------------------------ */
/* 
 * reads : g_143 g_163.f3 g_163.f9 g_124 g_22 g_163.f1 g_152.f0 g_15 g_2 g_235 g_86 g_21 g_257 g_218 g_152 g_82 g_163.f6 g_79 g_216 g_312 g_95 g_163.f7 g_17 g_165 g_358 g_393 g_414 g_29.f0
 * writes: g_143 g_124 g_216 g_218 g_152.f0 g_236 g_86 g_257 g_82 g_152 g_163.f0 g_17 g_165 g_163.f4 g_79 g_141 g_415
 */
static int16_t  func_67(int32_t  p_68, uint16_t * p_69, int16_t  p_70, const int32_t * p_71, struct S0  p_72)
{ /* block id: 76 */
    int32_t l_200 = 8L;
    uint32_t *l_201 = &g_124;
    int32_t l_214[10] = {0x5A4DF937L,0x5A4DF937L,0x5A4DF937L,0x5A4DF937L,0x5A4DF937L,0x5A4DF937L,0x5A4DF937L,0x5A4DF937L,0x5A4DF937L,0x5A4DF937L};
    uint8_t *l_215 = &g_216;
    uint8_t *l_217 = &g_218;
    int32_t l_219 = 1L;
    uint32_t l_230 = 0UL;
    struct S1 *l_250 = &g_163;
    uint64_t * const l_253[6][1][8] = {{{&g_152.f0,&g_79,&g_79,&g_152.f0,&g_152.f0,&g_152.f0,&g_152.f0,&g_152.f0}},{{&g_152.f0,&g_165,&g_79,&g_165,&g_152.f0,&g_79,&g_165,&g_165}},{{&g_152.f0,&g_165,&g_152.f0,&g_152.f0,&g_165,&g_152.f0,&g_79,&g_165}},{{&g_165,&g_79,&g_152.f0,&g_165,&g_152.f0,&g_79,&g_165,&g_152.f0}},{{&g_165,&g_152.f0,&g_79,&g_165,&g_165,&g_79,&g_152.f0,&g_165}},{{&g_152.f0,&g_165,&g_79,&g_152.f0,&g_165,&g_152.f0,&g_79,&g_165}}};
    uint8_t l_258 = 255UL;
    int32_t l_292 = 0xB65A2F4CL;
    uint16_t *l_326 = &g_143;
    int32_t l_327 = 0L;
    uint8_t l_329[8] = {0xDEL,0x82L,0x82L,0xDEL,0x82L,0x82L,0xDEL,0x82L};
    uint64_t l_362[4] = {0UL,0UL,0UL,0UL};
    int i, j, k;
lbl_416:
    if (((safe_div_func_int64_t_s_s((safe_lshift_func_uint16_t_u_s((--(*p_69)), ((safe_div_func_uint8_t_u_u(((p_71 != (void*)0) , g_163.f3), g_163.f9)) < (((1UL && ((*l_201)--)) | (safe_mod_func_int16_t_s_s(g_22, (safe_div_func_uint16_t_u_u((safe_sub_func_int64_t_s_s((safe_rshift_func_uint8_t_u_s(((*l_217) = ((*l_215) = (((3UL <= ((0x9BBC5434L && ((safe_rshift_func_int16_t_s_s((l_214[1] = l_200), 15)) >= g_163.f1)) < g_152.f0)) ^ g_152.f0) == 0xC8L))), 2)), 0x71F549A116DF5522LL)), l_219))))) , l_214[0])))), g_163.f1)) || g_15))
    { /* block id: 82 */
        uint64_t l_226[5];
        int32_t l_229[8][6] = {{0xAE6FE1DBL,0xD16D84DEL,(-5L),0xAE6FE1DBL,(-5L),0xD16D84DEL},{0xBD2BF71DL,0x70B68F89L,(-4L),(-5L),(-5L),(-5L)},{0xD16D84DEL,0x70B68F89L,0x70B68F89L,0xD16D84DEL,(-5L),(-4L)},{0x67D4EB91L,0x70B68F89L,(-5L),0x67D4EB91L,(-5L),0x70B68F89L},{(-5L),0x70B68F89L,(-4L),(-5L),(-5L),(-5L)},{0xD16D84DEL,0x70B68F89L,0x70B68F89L,0xD16D84DEL,(-5L),(-4L)},{0x67D4EB91L,0x70B68F89L,(-5L),0x67D4EB91L,(-5L),0x70B68F89L},{(-5L),0x70B68F89L,(-4L),(-5L),(-5L),(-5L)}};
        uint64_t *l_234 = &l_226[1];
        uint64_t ** const l_233[4][8][8] = {{{&l_234,&l_234,(void*)0,&l_234,&l_234,&l_234,&l_234,(void*)0},{&l_234,&l_234,&l_234,&l_234,&l_234,&l_234,&l_234,&l_234},{(void*)0,&l_234,&l_234,&l_234,&l_234,&l_234,(void*)0,&l_234},{&l_234,(void*)0,&l_234,&l_234,&l_234,&l_234,(void*)0,(void*)0},{(void*)0,&l_234,(void*)0,&l_234,&l_234,&l_234,&l_234,&l_234},{(void*)0,&l_234,&l_234,&l_234,(void*)0,&l_234,&l_234,&l_234},{(void*)0,&l_234,&l_234,(void*)0,(void*)0,&l_234,&l_234,&l_234},{&l_234,&l_234,&l_234,(void*)0,&l_234,&l_234,&l_234,(void*)0}},{{(void*)0,(void*)0,&l_234,&l_234,&l_234,&l_234,&l_234,&l_234},{&l_234,&l_234,(void*)0,&l_234,&l_234,&l_234,(void*)0,&l_234},{(void*)0,&l_234,&l_234,&l_234,&l_234,(void*)0,(void*)0,&l_234},{&l_234,&l_234,&l_234,&l_234,&l_234,(void*)0,&l_234,&l_234},{&l_234,&l_234,&l_234,&l_234,&l_234,&l_234,&l_234,(void*)0},{&l_234,&l_234,(void*)0,(void*)0,&l_234,&l_234,&l_234,&l_234},{&l_234,(void*)0,&l_234,(void*)0,&l_234,&l_234,&l_234,&l_234},{&l_234,&l_234,&l_234,&l_234,&l_234,&l_234,&l_234,&l_234}},{{&l_234,(void*)0,(void*)0,&l_234,&l_234,&l_234,&l_234,(void*)0},{&l_234,&l_234,&l_234,&l_234,&l_234,(void*)0,&l_234,&l_234},{(void*)0,&l_234,&l_234,&l_234,&l_234,&l_234,&l_234,&l_234},{&l_234,&l_234,(void*)0,&l_234,&l_234,&l_234,(void*)0,&l_234},{(void*)0,&l_234,&l_234,&l_234,&l_234,&l_234,&l_234,&l_234},{&l_234,&l_234,&l_234,&l_234,(void*)0,&l_234,&l_234,&l_234},{(void*)0,&l_234,&l_234,&l_234,&l_234,&l_234,(void*)0,(void*)0},{&l_234,&l_234,(void*)0,(void*)0,&l_234,&l_234,&l_234,&l_234}},{{&l_234,&l_234,&l_234,&l_234,&l_234,(void*)0,&l_234,&l_234},{&l_234,(void*)0,&l_234,&l_234,&l_234,&l_234,&l_234,&l_234},{(void*)0,&l_234,&l_234,(void*)0,&l_234,&l_234,&l_234,(void*)0},{&l_234,&l_234,&l_234,&l_234,&l_234,(void*)0,&l_234,&l_234},{&l_234,&l_234,&l_234,&l_234,(void*)0,(void*)0,&l_234,&l_234},{&l_234,&l_234,&l_234,&l_234,&l_234,&l_234,&l_234,&l_234},{&l_234,&l_234,(void*)0,&l_234,&l_234,(void*)0,&l_234,&l_234},{(void*)0,&l_234,&l_234,&l_234,&l_234,(void*)0,&l_234,&l_234}}};
        int i, j, k;
        for (i = 0; i < 5; i++)
            l_226[i] = 0x1D3ED8F5056CAB57LL;
        for (p_70 = 0; (p_70 != (-10)); p_70 = safe_sub_func_uint8_t_u_u(p_70, 2))
        { /* block id: 85 */
            int8_t l_225 = 0xBEL;
            for (g_152.f0 = 0; (g_152.f0 > 27); g_152.f0 = safe_add_func_int32_t_s_s(g_152.f0, 7))
            { /* block id: 88 */
                int32_t *l_224[5] = {&l_214[1],&l_214[1],&l_214[1],&l_214[1],&l_214[1]};
                int i;
                ++l_226[1];
                if ((*p_71))
                    continue;
                --l_230;
            }
        }
        (*g_235) = l_233[1][3][3];
    }
    else
    { /* block id: 95 */
        uint64_t l_237 = 0UL;
        int64_t l_254 = 0L;
        int16_t *l_255 = &g_86;
        int8_t *l_256 = &g_257;
        int32_t l_269 = 9L;
        int32_t ** const l_307 = (void*)0;
        uint32_t *l_371 = &g_124;
        int32_t l_377[10][1] = {{0x68900559L},{0x68900559L},{(-1L)},{0x07084F23L},{(-1L)},{0x68900559L},{0x68900559L},{(-1L)},{0x07084F23L},{(-1L)}};
        uint32_t l_378[8] = {0x51876132L,4294967290UL,0x51876132L,0x51876132L,4294967290UL,0x51876132L,0x51876132L,4294967290UL};
        int32_t *l_413 = (void*)0;
        int i, j;
        if ((((l_237 == ((safe_div_func_uint32_t_u_u((l_237 | (safe_lshift_func_int8_t_s_s(((*l_256) ^= (safe_mul_func_uint8_t_u_u(l_200, (((safe_mod_func_uint32_t_u_u((((*l_255) = ((&l_237 != (void*)0) , ((safe_sub_func_int16_t_s_s((((((safe_mul_func_uint64_t_u_u(((((0xAA532D318F066AA7LL <= ((((void*)0 != l_250) & ((safe_mod_func_uint64_t_u_u(((l_253[0][0][2] == (void*)0) == l_254), g_86)) != l_214[6])) || 0x4480C90BAB009086LL)) && p_70) > g_163.f9) >= l_254), 18446744073709551610UL)) , l_219) & g_21[2][1]) , p_71) == p_71), (*p_69))) , p_72.f0))) || l_237), 4294967293UL)) | g_21[2][0]) , p_68)))), l_200))), 0x0025CD26L)) || 0x57L)) | l_254) < l_258))
        { /* block id: 98 */
            uint8_t l_265 = 1UL;
            struct S0 l_309 = {0x4FD6F1001C8258AFLL};
            int64_t *l_325[6][1] = {{&g_17},{&g_17},{&g_17},{&g_17},{&g_17},{&g_17}};
            int32_t *l_328 = &l_269;
            int32_t *l_330 = &l_292;
            uint16_t *l_351 = (void*)0;
            int i, j;
            for (p_72.f0 = 22; (p_72.f0 < 17); p_72.f0 = safe_sub_func_uint8_t_u_u(p_72.f0, 8))
            { /* block id: 101 */
                const int64_t l_264 = 0x8387B0F2D6018BD8LL;
                int32_t l_290 = 0x06DCF74DL;
                const uint8_t l_299 = 0x01L;
                int32_t l_311 = 0xB8AA23A5L;
                for (g_82 = 0; (g_82 <= (-10)); --g_82)
                { /* block id: 104 */
                    for (p_68 = 0; (p_68 <= 1); p_68 += 1)
                    { /* block id: 107 */
                        p_71 = p_71;
                        if (l_264)
                            break;
                    }
                    if (l_265)
                        continue;
                    for (g_143 = 10; (g_143 > 40); g_143++)
                    { /* block id: 114 */
                        int32_t *l_268[4] = {(void*)0,(void*)0,(void*)0,(void*)0};
                        int i;
                        l_219 &= l_265;
                    }
                    for (g_218 = 0; (g_218 <= 3); g_218 += 1)
                    { /* block id: 119 */
                        int i;
                        if (l_214[(g_218 + 6)])
                            break;
                        l_269 ^= (*p_71);
                    }
                }
                for (l_269 = (-5); (l_269 < 6); l_269 = safe_add_func_int32_t_s_s(l_269, 4))
                { /* block id: 126 */
                    int32_t l_289 = 5L;
                    const int64_t l_291 = 0xBC11497F7C5511DELL;
                    int32_t l_308[8][2] = {{0xACFC9BDEL,0xE18AEF84L},{0xACFC9BDEL,0xE18AEF84L},{0xACFC9BDEL,0xE18AEF84L},{0xACFC9BDEL,0xE18AEF84L},{0xACFC9BDEL,0xE18AEF84L},{0xACFC9BDEL,0xE18AEF84L},{0xACFC9BDEL,0xE18AEF84L},{0xACFC9BDEL,0xE18AEF84L}};
                    int i, j;
                    for (g_257 = 0; (g_257 <= 24); g_257++)
                    { /* block id: 129 */
                        struct S0 *l_274 = &g_152;
                        (*l_274) = g_152;
                    }
                    if (l_214[1])
                    { /* block id: 132 */
                        p_71 = &l_269;
                        return l_214[6];
                    }
                    else
                    { /* block id: 135 */
                        int32_t *l_275 = &l_219;
                        int64_t *l_287 = &l_254;
                        int64_t *l_288[9][7] = {{(void*)0,&g_17,&g_17,&g_17,(void*)0,&g_17,&g_17},{&g_17,&g_17,&g_17,&g_17,&g_17,&g_17,&g_17},{&g_17,&g_17,&g_17,&g_17,&g_17,&g_17,&g_17},{&g_17,&g_17,&g_17,(void*)0,&g_17,&g_17,&g_17},{(void*)0,&g_17,&g_17,(void*)0,&g_17,&g_17,(void*)0},{&g_17,&g_17,&g_17,&g_17,&g_17,&g_17,&g_17},{&g_17,&g_17,&g_17,&g_17,&g_17,&g_17,&g_17},{&g_17,&g_17,&g_17,&g_17,&g_17,&g_17,&g_17},{(void*)0,&g_17,(void*)0,(void*)0,&g_17,&g_17,&g_17}};
                        int32_t l_306[6] = {0x2DD83D83L,0x2DD83D83L,0x2DD83D83L,0x2DD83D83L,0x2DD83D83L,0x2DD83D83L};
                        int32_t *l_310 = &g_163.f0;
                        int i, j;
                        l_292 ^= (((*l_275) = (*p_71)) >= (safe_unary_minus_func_int64_t_s((+((safe_mod_func_int64_t_s_s(p_70, (l_214[1] = (((g_82 , (safe_sub_func_int64_t_s_s((safe_div_func_int8_t_s_s(((*l_256) = (g_82 >= (l_258 <= ((((((1UL & (safe_mul_func_uint32_t_u_u((~((((l_289 = ((*l_287) |= l_264)) , (*p_71)) && p_72.f0) , g_163.f6)), l_265))) && g_79) < p_70) , l_290) ^ p_68) , 5UL)))), l_237)), l_265))) == p_70) , l_230)))) ^ l_291)))));
                        l_311 = ((*l_310) = (((l_308[7][1] ^= (((*l_217) = 0xD4L) ^ (l_290 , ((*l_256) &= ((safe_rshift_func_int16_t_s_u((((safe_lshift_func_uint64_t_u_u((!l_289), (~p_72.f0))) != l_299) > l_230), 5)) && (safe_mod_func_int64_t_s_s((safe_lshift_func_uint8_t_u_s(((*l_215) |= (((((((safe_mul_func_int64_t_s_s(((l_265 > (((*l_275) |= (((void*)0 != &l_299) , l_264)) >= l_299)) & l_214[8]), (-1L))) | l_265) , p_68) | l_306[3]) <= 0x85164FB9815F8931LL) , l_307) != (void*)0)), g_21[4][0])), 0x99591346962A3489LL))))))) , l_309) , 0x391362AEL));
                    }
                }
            }
            (*l_330) |= ((((l_219 = ((g_312 , ((*l_328) = ((safe_lshift_func_int32_t_s_u(((safe_add_func_uint8_t_u_u(((safe_lshift_func_uint16_t_u_u((0L < ((safe_lshift_func_uint16_t_u_u(((safe_div_func_uint64_t_u_u(((safe_mod_func_uint32_t_u_u((l_325[4][0] == (void*)0), 4294967287UL)) > (l_326 != (void*)0)), 0xEEF62F0ACBDA03C2LL)) & l_327), 2)) , (*g_95))), 10)) <= (-2L)), g_163.f1)) , (*p_71)), 27)) != p_68))) <= l_214[1])) , l_329[7]) , 1UL) != 0x912D41C4L);
            for (g_17 = 9; (g_17 == (-3)); g_17 = safe_sub_func_int8_t_s_s(g_17, 6))
            { /* block id: 157 */
                uint16_t l_356[2];
                int32_t l_357 = 0xDF8C5D97L;
                int i;
                for (i = 0; i < 2; i++)
                    l_356[i] = 0x2833L;
                l_357 |= (safe_rshift_func_uint8_t_u_s(g_163.f7, (((safe_mul_func_uint64_t_u_u((~((((*l_330) , p_72.f0) != (safe_sub_func_uint8_t_u_u((safe_mod_func_int64_t_s_s((safe_rshift_func_int16_t_s_s(((safe_add_func_int64_t_s_s((safe_div_func_uint8_t_u_u(p_68, (safe_mul_func_int32_t_s_s((((((safe_unary_minus_func_int8_t_s(p_70)) && (l_351 == ((((safe_add_func_uint16_t_u_u((safe_mul_func_int32_t_s_s((l_269 = l_269), ((l_200 , ((g_163.f1 || g_152.f0) && l_356[0])) <= 0xD5B09E32L))), l_356[0])) && g_17) , g_17) , (void*)0))) , 1UL) , (-8L)) >= g_143), l_292)))), g_165)) && 65527UL), 9)), p_70)), 255UL))) != 3UL)), (*l_330))) < (*p_71)) > l_219)));
            }
        }
        else
        { /* block id: 161 */
            int32_t l_365 = 0L;
            int32_t l_366 = 0x0BBDDBA7L;
            int32_t l_367 = 0x05DB9FDEL;
            int32_t l_376[8][1][10] = {{{(-7L),0xEDAD891AL,0x3400E4BAL,0x55C7851BL,0xEDAD891AL,(-10L),0xEDAD891AL,0x55C7851BL,0x3400E4BAL,0xEDAD891AL}},{{(-7L),0L,(-1L),0x55C7851BL,0L,0xFD14A213L,0xEDAD891AL,(-1L),(-1L),0xEDAD891AL}},{{0xFD14A213L,0xEDAD891AL,(-1L),(-1L),0xEDAD891AL,0xFD14A213L,0L,0x55C7851BL,(-1L),0L}},{{(-7L),0xEDAD891AL,0x3400E4BAL,0x55C7851BL,0xEDAD891AL,(-10L),0xEDAD891AL,0x55C7851BL,0x3400E4BAL,0xEDAD891AL}},{{(-7L),0L,(-1L),0x55C7851BL,0L,0xFD14A213L,0xEDAD891AL,(-1L),(-1L),0xEDAD891AL}},{{0xFD14A213L,0xEDAD891AL,(-1L),(-1L),0xEDAD891AL,0xFD14A213L,0L,0x55C7851BL,(-1L),0L}},{{(-7L),0xEDAD891AL,0x3400E4BAL,0x55C7851BL,0xEDAD891AL,(-10L),0xEDAD891AL,0x55C7851BL,0x3400E4BAL,0xEDAD891AL}},{{(-7L),0L,(-1L),0x55C7851BL,0L,0xFD14A213L,0xEDAD891AL,(-1L),(-1L),0xEDAD891AL}}};
            int64_t *l_388 = &l_254;
            int i, j, k;
            l_214[1] |= ((g_358 , (safe_mod_func_int64_t_s_s((!((((l_362[1] != p_68) && (g_2[2][1] , (l_255 != ((((safe_div_func_uint64_t_u_u((p_70 == ((void*)0 != &g_143)), (g_165 = l_365))) , l_366) , g_358.f0) , (void*)0)))) != g_86) >= l_367)), l_292))) | g_216);
            if ((((+g_312.f4) != 1UL) , ((safe_mod_func_uint32_t_u_u((0L > ((*l_201) &= p_68)), (g_358.f8 ^ 0x39L))) && ((void*)0 != l_371))))
            { /* block id: 165 */
                int32_t *l_372 = &l_365;
                int32_t *l_373 = &l_327;
                int32_t *l_374[7][10] = {{(void*)0,(void*)0,(void*)0,(void*)0,(void*)0,(void*)0,(void*)0,(void*)0,(void*)0,(void*)0},{(void*)0,(void*)0,(void*)0,(void*)0,(void*)0,(void*)0,(void*)0,(void*)0,(void*)0,(void*)0},{(void*)0,(void*)0,(void*)0,(void*)0,(void*)0,(void*)0,(void*)0,(void*)0,(void*)0,(void*)0},{(void*)0,(void*)0,(void*)0,(void*)0,(void*)0,(void*)0,(void*)0,(void*)0,(void*)0,(void*)0},{(void*)0,(void*)0,(void*)0,(void*)0,(void*)0,(void*)0,(void*)0,(void*)0,(void*)0,(void*)0},{(void*)0,(void*)0,(void*)0,(void*)0,(void*)0,(void*)0,(void*)0,(void*)0,(void*)0,(void*)0},{(void*)0,(void*)0,(void*)0,(void*)0,(void*)0,(void*)0,(void*)0,(void*)0,(void*)0,(void*)0}};
                int32_t l_375 = 0xBE830D51L;
                int i, j;
                --l_378[0];
            }
            else
            { /* block id: 167 */
                int32_t l_410 = 0x8046F75AL;
                int32_t *l_412 = &l_269;
                for (g_124 = (-5); (g_124 <= 4); ++g_124)
                { /* block id: 170 */
                    uint32_t *l_404 = (void*)0;
                    uint32_t *l_405 = (void*)0;
                    uint32_t *l_406 = &l_378[0];
                    int32_t l_407[1][3];
                    uint32_t *l_408[2];
                    int32_t *l_411 = &l_214[4];
                    int i, j;
                    for (i = 0; i < 1; i++)
                    {
                        for (j = 0; j < 3; j++)
                            l_407[i][j] = 0x18C72D48L;
                    }
                    for (i = 0; i < 2; i++)
                        l_408[i] = &g_409;
                    (*l_411) ^= (safe_mul_func_int32_t_s_s((~((((l_376[2][0][9] = ((*l_388) &= (safe_mod_func_int16_t_s_s((l_388 != ((safe_sub_func_int32_t_s_s((safe_lshift_func_uint64_t_u_s(((*p_69) , 18446744073709551611UL), 49)), (g_393[1][0] , ((safe_div_func_uint64_t_u_u((safe_add_func_int8_t_s_s((safe_mul_func_uint32_t_u_u(0x761D5499L, (g_358 , (g_163.f4 = ((safe_div_func_int32_t_s_s((safe_div_func_int16_t_s_s(0x9A05L, (((*l_406) = g_393[1][0].f5) & (((l_326 = l_326) != &g_143) >= l_329[7])))), l_407[0][1])) <= p_70))))), g_2[1][0])), g_165)) , l_362[1])))) , &l_254)), 0xFE52L)))) || l_410) && (*p_71)) , (-1L))), g_163.f3));
                }
                (*l_412) = (*p_71);
            }
        }
        for (g_79 = 0; (g_79 <= 7); g_79 += 1)
        { /* block id: 183 */
            int i;
            (*g_414) = (g_141[0] = (l_413 = &l_327));
            if (p_72.f0)
                goto lbl_416;
            return l_214[(g_79 + 1)];
        }
        return g_29.f0;
    }
    return l_200;
}


/* ------------------------------------------ */
/* 
 * reads : g_17 g_88 g_22 g_95 g_86 g_82 g_79 g_15 g_2 g_124 g_136 g_143 g_152.f0 g_163 g_166 g_165
 * writes: g_17 g_88 g_82 g_86 g_22 g_79 g_124 g_140 g_143 g_152.f0 g_165 g_167
 */
static uint16_t * func_74(const uint64_t  p_75, int32_t * p_76)
{ /* block id: 18 */
    int32_t l_83[8][6][4] = {{{(-1L),(-1L),5L,(-1L)},{(-1L),0x05350A10L,0x05350A10L,0x05350A10L},{5L,0x05350A10L,5L,5L},{0x05350A10L,0x05350A10L,(-1L),0x05350A10L},{0x05350A10L,5L,5L,0x05350A10L},{5L,0x05350A10L,5L,5L}},{{0x05350A10L,0x05350A10L,(-1L),0x05350A10L},{0x05350A10L,5L,5L,0x05350A10L},{5L,0x05350A10L,5L,5L},{0x05350A10L,0x05350A10L,(-1L),0x05350A10L},{0x05350A10L,5L,5L,0x05350A10L},{5L,0x05350A10L,5L,5L}},{{0x05350A10L,0x05350A10L,(-1L),0x05350A10L},{0x05350A10L,5L,5L,0x05350A10L},{5L,0x05350A10L,5L,5L},{0x05350A10L,0x05350A10L,(-1L),0x05350A10L},{0x05350A10L,5L,5L,0x05350A10L},{5L,0x05350A10L,5L,5L}},{{0x05350A10L,0x05350A10L,(-1L),0x05350A10L},{0x05350A10L,5L,5L,0x05350A10L},{5L,0x05350A10L,5L,5L},{0x05350A10L,0x05350A10L,(-1L),0x05350A10L},{0x05350A10L,5L,5L,0x05350A10L},{5L,0x05350A10L,5L,5L}},{{0x05350A10L,0x05350A10L,(-1L),0x05350A10L},{0x05350A10L,5L,5L,0x05350A10L},{5L,0x05350A10L,5L,5L},{0x05350A10L,0x05350A10L,(-1L),0x05350A10L},{0x05350A10L,5L,5L,0x05350A10L},{5L,0x05350A10L,5L,5L}},{{0x05350A10L,0x05350A10L,(-1L),0x05350A10L},{0x05350A10L,5L,5L,0x05350A10L},{5L,0x05350A10L,5L,5L},{0x05350A10L,0x05350A10L,(-1L),0x05350A10L},{0x05350A10L,5L,5L,0x05350A10L},{5L,0x05350A10L,5L,5L}},{{0x05350A10L,0x05350A10L,(-1L),0x05350A10L},{0x05350A10L,5L,5L,0x05350A10L},{5L,0x05350A10L,5L,5L},{0x05350A10L,0x05350A10L,(-1L),0x05350A10L},{0x05350A10L,5L,5L,0x05350A10L},{5L,0x05350A10L,5L,5L}},{{0x05350A10L,0x05350A10L,(-1L),0x05350A10L},{0x05350A10L,5L,5L,0x05350A10L},{5L,0x05350A10L,5L,5L},{0x05350A10L,0x05350A10L,(-1L),0x05350A10L},{0x05350A10L,5L,5L,0x05350A10L},{5L,0x05350A10L,5L,5L}}};
    int32_t l_104[6][4] = {{0xDD4330F1L,0xDD4330F1L,0x89B2D0C0L,1L},{1L,(-8L),0xDD4330F1L,(-1L)},{0x3F4106BCL,1L,0x89B2D0C0L,0xDD4330F1L},{(-1L),1L,1L,(-1L)},{1L,(-1L),0x3F4106BCL,0L},{1L,0x3F4106BCL,1L,0x89B2D0C0L}};
    int32_t l_144[2];
    uint64_t *l_182 = &g_165;
    int i, j, k;
    for (i = 0; i < 2; i++)
        l_144[i] = 3L;
    for (g_17 = 3; (g_17 >= 0); g_17 -= 1)
    { /* block id: 21 */
        int32_t *l_84 = (void*)0;
        int32_t *l_85 = &l_83[5][5][2];
        int32_t *l_87 = (void*)0;
        int32_t **l_91 = &l_84;
        uint64_t *l_103[8][6] = {{&g_79,&g_79,&g_79,&g_79,&g_79,&g_79},{&g_79,&g_79,(void*)0,&g_79,(void*)0,&g_79},{(void*)0,&g_79,&g_79,(void*)0,(void*)0,&g_79},{(void*)0,(void*)0,(void*)0,&g_79,&g_79,&g_79},{&g_79,(void*)0,&g_79,&g_79,(void*)0,(void*)0},{&g_79,&g_79,&g_79,&g_79,(void*)0,&g_79},{&g_79,&g_79,(void*)0,&g_79,&g_79,&g_79},{&g_79,&g_79,&g_79,&g_79,&g_79,&g_79}};
        int32_t l_121 = 0x43DC40B7L;
        int32_t l_122[1][3];
        struct S0 *l_151[4] = {(void*)0,(void*)0,(void*)0,(void*)0};
        int i, j;
        for (i = 0; i < 1; i++)
        {
            for (j = 0; j < 3; j++)
                l_122[i][j] = 0x95ED27A3L;
        }
        g_88++;
        (*l_85) ^= p_75;
        (*l_91) = &g_15;
        if (g_22)
            break;
        for (g_82 = 3; (g_82 >= 0); g_82 -= 1)
        { /* block id: 28 */
            int32_t l_94 = 1L;
            int32_t * volatile *l_96 = &l_84;
            l_94 &= ((*l_85) = (safe_div_func_uint64_t_u_u(18446744073709551606UL, (*l_85))));
            (*l_96) = g_95;
            for (g_86 = 0; (g_86 <= 3); g_86 += 1)
            { /* block id: 34 */
                int8_t l_114[1];
                int32_t l_119 = (-10L);
                int32_t l_120 = 0x691963C9L;
                int32_t l_123 = (-6L);
                struct S0 l_145 = {1UL};
                const struct S1 *l_181[2];
                const struct S1 **l_180 = &l_181[1];
                uint32_t l_188[1][6][3] = {{{0x45CCC3FBL,0x45CCC3FBL,0x12782790L},{0xDAC9CA45L,8UL,0xDAC9CA45L},{0x45CCC3FBL,0x12782790L,0x12782790L},{0x10E0DADDL,8UL,0x10E0DADDL},{0x45CCC3FBL,0x45CCC3FBL,0x12782790L},{0xDAC9CA45L,8UL,0xDAC9CA45L}}};
                int i, j, k;
                for (i = 0; i < 1; i++)
                    l_114[i] = 0x49L;
                for (i = 0; i < 2; i++)
                    l_181[i] = &g_163;
                for (l_94 = 0; (l_94 <= 3); l_94 += 1)
                { /* block id: 37 */
                    int32_t l_113[9][3][8] = {{{9L,2L,(-1L),0xF5579FDBL,2L,0xDE5F6D2AL,8L,0xDE5F6D2AL},{0x8F2DF739L,9L,0x3D17502DL,9L,0x8F2DF739L,0x5DEB8F54L,0xF5579FDBL,0x8F2DF739L},{0xDE5F6D2AL,1L,0x850522FEL,0xDE5F6D2AL,(-10L),2L,0x67387AFFL,9L}},{{1L,0x67387AFFL,0x850522FEL,0xF5579FDBL,0xCEB3AD1BL,0xCEB3AD1BL,0xF5579FDBL,0x850522FEL},{(-10L),(-10L),0x3D17502DL,0x8F2DF739L,0x5F837D81L,(-1L),8L,(-10L)},{0x67387AFFL,1L,(-1L),0xCEB3AD1BL,8L,(-1L),0x850522FEL,(-10L)}},{{1L,0xDE5F6D2AL,0x67387AFFL,0x8F2DF739L,0x67387AFFL,0xDE5F6D2AL,1L,0x850522FEL},{9L,0x8F2DF739L,0x5DEB8F54L,0xF5579FDBL,0x8F2DF739L,0x3A2C9E81L,8L,9L},{2L,9L,0xCEB3AD1BL,0xDE5F6D2AL,0x8F2DF739L,(-1L),(-1L),0x8F2DF739L}},{{9L,0x850522FEL,0x850522FEL,9L,0x67387AFFL,2L,(-10L),0xDE5F6D2AL},{1L,(-10L),6L,0xF5579FDBL,8L,0x3D17502DL,0xF5579FDBL,1L},{0x67387AFFL,(-10L),0xCEB3AD1BL,2L,0x5F837D81L,2L,0xCEB3AD1BL,(-10L)}},{{(-10L),0x850522FEL,(-1L),8L,0xCEB3AD1BL,(-1L),2L,0L},{2L,0x850522FEL,0x5F837D81L,(-1L),0xDE4AF1C1L,1L,2L,2L},{6L,(-1L),0x3D17502DL,0x3D17502DL,(-1L),6L,(-1L),0x850522FEL}},{{(-1L),6L,(-1L),0x850522FEL,0x5DEB8F54L,0x3D17502DL,0xCEB3AD1BL,0x5DEB8F54L},{0x850522FEL,2L,0x8F2DF739L,0x850522FEL,0xDE4AF1C1L,0xF5579FDBL,0xDE4AF1C1L,0x850522FEL},{(-1L),0xDE4AF1C1L,(-1L),0x3D17502DL,0x67387AFFL,(-1L),0x3D17502DL,2L}},{{0xDE4AF1C1L,0L,(-1L),(-1L),0x3A2C9E81L,0x5DEB8F54L,0x67387AFFL,0L},{0xDE4AF1C1L,2L,8L,0x67387AFFL,0x67387AFFL,8L,2L,0xDE4AF1C1L},{(-1L),0x850522FEL,0L,0x5DEB8F54L,0xDE4AF1C1L,6L,(-1L),2L}},{{0x850522FEL,0x5DEB8F54L,0x3D17502DL,0xCEB3AD1BL,0x5DEB8F54L,6L,0x67387AFFL,6L},{(-1L),0x850522FEL,(-10L),0x850522FEL,(-1L),8L,0xCEB3AD1BL,(-1L)},{6L,2L,(-1L),6L,0xDE4AF1C1L,0x5DEB8F54L,0L,0x850522FEL}},{{2L,0L,(-1L),0xCEB3AD1BL,(-1L),(-1L),0xCEB3AD1BL,(-1L)},{0xDE4AF1C1L,0xDE4AF1C1L,(-10L),(-1L),0xDE5F6D2AL,0xF5579FDBL,0x67387AFFL,0xDE4AF1C1L},{0L,2L,0x3D17502DL,(-1L),0x67387AFFL,0x3D17502DL,(-1L),0xDE4AF1C1L}}};
                    int32_t *l_115 = &l_104[1][3];
                    struct S0 *l_146 = &l_145;
                    int i, j, k;
                    (*l_115) &= ((safe_rshift_func_int16_t_s_s((g_22 = 1L), (((safe_rshift_func_int16_t_s_s(l_83[(g_17 + 3)][(g_86 + 1)][g_82], (((safe_rshift_func_uint8_t_u_u(((((l_103[5][0] != (void*)0) > (g_79++)) == (((**l_96) , 6UL) >= ((g_17 | (l_113[8][2][5] = (safe_div_func_uint64_t_u_u((safe_div_func_uint16_t_u_u((safe_add_func_int16_t_s_s(g_2[1][1], 0x75C6L)), (-4L))), 0x3A919A52CA836B06LL)))) >= g_15))) < g_82), (*l_85))) == l_83[(g_17 + 3)][(g_86 + 1)][g_82]) , g_2[4][1]))) | l_114[0]) == (*l_85)))) == g_2[2][1]);
                    for (g_79 = 13; (g_79 > 13); ++g_79)
                    { /* block id: 44 */
                        int32_t *l_118[2][2];
                        int32_t ***l_139[1];
                        uint16_t *l_142 = &g_143;
                        int i, j;
                        for (i = 0; i < 2; i++)
                        {
                            for (j = 0; j < 2; j++)
                                l_118[i][j] = (void*)0;
                        }
                        for (i = 0; i < 1; i++)
                            l_139[i] = &l_91;
                        g_124++;
                        l_144[0] ^= ((safe_add_func_uint32_t_u_u(0UL, (((*l_142) ^= (g_17 ^ (safe_unary_minus_func_int16_t_s((l_114[0] || (safe_sub_func_uint8_t_u_u(((safe_mod_func_uint64_t_u_u((**l_96), l_114[0])) && ((*l_115) = (safe_lshift_func_int64_t_s_u((**l_96), ((g_136 , (safe_add_func_uint32_t_u_u((((g_140 = &l_115) == (void*)0) | 18446744073709551614UL), g_2[0][2]))) && p_75))))), g_22))))))) != l_83[2][4][0]))) | p_75);
                    }
                    (*l_146) = l_145;
                    for (g_124 = 0; (g_124 >= 7); g_124 = safe_add_func_uint64_t_u_u(g_124, 8))
                    { /* block id: 54 */
                        int32_t l_164 = 0xE0AEB5C8L;
                        int16_t *l_183 = (void*)0;
                        int16_t *l_184[6] = {(void*)0,&g_86,&g_86,(void*)0,&g_86,&g_86};
                        uint16_t l_185[9][3][2] = {{{0xA984L,0x8E3FL},{0xA984L,0xA984L},{0x8E3FL,0xA984L}},{{0xA984L,0x8E3FL},{0xA984L,0xA984L},{0x8E3FL,0xA984L}},{{0xA984L,0x8E3FL},{0xA984L,0xA984L},{0x8E3FL,0xA984L}},{{0xA984L,0x8E3FL},{0xA984L,0xA984L},{0x8E3FL,0xA984L}},{{0xA984L,0x8E3FL},{0xA984L,0xA984L},{0x8E3FL,0xA984L}},{{0xA984L,0x8E3FL},{0xA984L,0xA984L},{0x8E3FL,0xA984L}},{{0xA984L,0x8E3FL},{0xA984L,0xA984L},{0x8E3FL,0xA984L}},{{0xA984L,0x8E3FL},{0xA984L,0xA984L},{0x8E3FL,0xA984L}},{{0xA984L,0x8E3FL},{0xA984L,0xA984L},{0x8E3FL,0xA984L}}};
                        int i, j, k;
                        (*l_85) = (safe_add_func_uint32_t_u_u(((l_151[3] == &g_152) , 7UL), ((safe_mod_func_uint8_t_u_u(p_75, ((safe_rshift_func_uint64_t_u_u((g_152.f0--), 50)) & (safe_lshift_func_uint64_t_u_s((g_79--), 46))))) <= (g_165 = ((((g_163 , &l_115) == ((((((((g_82 < ((((*l_84) != (p_75 ^ 1L)) , 255UL) > p_75)) || g_22) ^ p_75) > 1UL) & p_75) || l_164) , p_75) , (void*)0)) || g_86) ^ l_104[1][3])))));
                        (*g_166) = &g_163;
                        l_185[0][2][0] = (safe_mod_func_int16_t_s_s(p_75, (safe_add_func_int16_t_s_s((l_119 = (safe_sub_func_int32_t_s_s((safe_add_func_int16_t_s_s((l_83[7][5][2] || (g_163 , ((((++g_79) == ((*l_182) |= (((g_152.f0 >= (safe_unary_minus_func_uint8_t_u((l_104[1][3] != ((safe_unary_minus_func_uint16_t_u((l_180 == (void*)0))) , (0x316BL && (l_182 != (void*)0))))))) >= p_75) , (**l_96)))) ^ 0UL) != g_86))), p_75)), (*l_115)))), (-6L)))));
                        (*l_115) ^= (safe_lshift_func_uint32_t_u_u(4294967295UL, l_188[0][2][2]));
                    }
                }
            }
        }
    }
    for (g_17 = 3; (g_17 <= (-9)); g_17 = safe_sub_func_uint16_t_u_u(g_17, 7))
    { /* block id: 72 */
        int16_t l_191 = 0x4F97L;
        if (l_191)
            break;
    }
    return &g_143;
}




/* ---------------------------------------- */
int main (int argc, char* argv[])
{
    int i, j, k;
    int print_hash_value = 0;
    if (argc == 2 && strcmp(argv[1], "1") == 0) print_hash_value = 1;
    platform_main_begin();
    crc32_gentab();
    func_1();
    for (i = 0; i < 8; i++)
    {
        for (j = 0; j < 3; j++)
        {
            transparent_crc(g_2[i][j], "g_2[i][j]", print_hash_value);
            if (print_hash_value) printf("index = [%d][%d]\n", i, j);

        }
    }
    transparent_crc(g_15, "g_15", print_hash_value);
    transparent_crc(g_17, "g_17", print_hash_value);
    for (i = 0; i < 9; i++)
    {
        for (j = 0; j < 3; j++)
        {
            transparent_crc(g_21[i][j], "g_21[i][j]", print_hash_value);
            if (print_hash_value) printf("index = [%d][%d]\n", i, j);

        }
    }
    transparent_crc(g_22, "g_22", print_hash_value);
    transparent_crc(g_29.f0, "g_29.f0", print_hash_value);
    transparent_crc(g_50, "g_50", print_hash_value);
    transparent_crc(g_79, "g_79", print_hash_value);
    transparent_crc(g_82, "g_82", print_hash_value);
    transparent_crc(g_86, "g_86", print_hash_value);
    transparent_crc(g_88, "g_88", print_hash_value);
    transparent_crc(g_124, "g_124", print_hash_value);
    transparent_crc(g_136.f0, "g_136.f0", print_hash_value);
    transparent_crc(g_143, "g_143", print_hash_value);
    transparent_crc(g_152.f0, "g_152.f0", print_hash_value);
    transparent_crc(g_163.f0, "g_163.f0", print_hash_value);
    transparent_crc(g_163.f1, "g_163.f1", print_hash_value);
    transparent_crc(g_163.f2, "g_163.f2", print_hash_value);
    transparent_crc(g_163.f3, "g_163.f3", print_hash_value);
    transparent_crc(g_163.f4, "g_163.f4", print_hash_value);
    transparent_crc(g_163.f5, "g_163.f5", print_hash_value);
    transparent_crc(g_163.f6, "g_163.f6", print_hash_value);
    transparent_crc(g_163.f7, "g_163.f7", print_hash_value);
    transparent_crc(g_163.f8, "g_163.f8", print_hash_value);
    transparent_crc(g_163.f9, "g_163.f9", print_hash_value);
    transparent_crc(g_165, "g_165", print_hash_value);
    transparent_crc(g_216, "g_216", print_hash_value);
    transparent_crc(g_218, "g_218", print_hash_value);
    transparent_crc(g_257, "g_257", print_hash_value);
    transparent_crc(g_312.f0, "g_312.f0", print_hash_value);
    transparent_crc(g_312.f1, "g_312.f1", print_hash_value);
    transparent_crc(g_312.f2, "g_312.f2", print_hash_value);
    transparent_crc(g_312.f3, "g_312.f3", print_hash_value);
    transparent_crc(g_312.f4, "g_312.f4", print_hash_value);
    transparent_crc(g_312.f5, "g_312.f5", print_hash_value);
    transparent_crc(g_312.f6, "g_312.f6", print_hash_value);
    transparent_crc(g_312.f7, "g_312.f7", print_hash_value);
    transparent_crc(g_312.f8, "g_312.f8", print_hash_value);
    transparent_crc(g_312.f9, "g_312.f9", print_hash_value);
    transparent_crc(g_358.f0, "g_358.f0", print_hash_value);
    transparent_crc(g_358.f1, "g_358.f1", print_hash_value);
    transparent_crc(g_358.f2, "g_358.f2", print_hash_value);
    transparent_crc(g_358.f3, "g_358.f3", print_hash_value);
    transparent_crc(g_358.f4, "g_358.f4", print_hash_value);
    transparent_crc(g_358.f5, "g_358.f5", print_hash_value);
    transparent_crc(g_358.f6, "g_358.f6", print_hash_value);
    transparent_crc(g_358.f7, "g_358.f7", print_hash_value);
    transparent_crc(g_358.f8, "g_358.f8", print_hash_value);
    transparent_crc(g_358.f9, "g_358.f9", print_hash_value);
    for (i = 0; i < 4; i++)
    {
        for (j = 0; j < 8; j++)
        {
            transparent_crc(g_393[i][j].f0, "g_393[i][j].f0", print_hash_value);
            transparent_crc(g_393[i][j].f1, "g_393[i][j].f1", print_hash_value);
            transparent_crc(g_393[i][j].f2, "g_393[i][j].f2", print_hash_value);
            transparent_crc(g_393[i][j].f3, "g_393[i][j].f3", print_hash_value);
            transparent_crc(g_393[i][j].f4, "g_393[i][j].f4", print_hash_value);
            transparent_crc(g_393[i][j].f5, "g_393[i][j].f5", print_hash_value);
            transparent_crc(g_393[i][j].f6, "g_393[i][j].f6", print_hash_value);
            transparent_crc(g_393[i][j].f7, "g_393[i][j].f7", print_hash_value);
            transparent_crc(g_393[i][j].f8, "g_393[i][j].f8", print_hash_value);
            transparent_crc(g_393[i][j].f9, "g_393[i][j].f9", print_hash_value);
            if (print_hash_value) printf("index = [%d][%d]\n", i, j);

        }
    }
    transparent_crc(g_409, "g_409", print_hash_value);
    transparent_crc(g_437, "g_437", print_hash_value);
    transparent_crc(g_538, "g_538", print_hash_value);
    transparent_crc(g_572.f0, "g_572.f0", print_hash_value);
    transparent_crc(g_572.f1, "g_572.f1", print_hash_value);
    transparent_crc(g_572.f2, "g_572.f2", print_hash_value);
    transparent_crc(g_572.f3, "g_572.f3", print_hash_value);
    transparent_crc(g_572.f4, "g_572.f4", print_hash_value);
    transparent_crc(g_572.f5, "g_572.f5", print_hash_value);
    transparent_crc(g_572.f6, "g_572.f6", print_hash_value);
    transparent_crc(g_572.f7, "g_572.f7", print_hash_value);
    transparent_crc(g_572.f8, "g_572.f8", print_hash_value);
    transparent_crc(g_572.f9, "g_572.f9", print_hash_value);
    transparent_crc(g_777.f0, "g_777.f0", print_hash_value);
    transparent_crc(g_883, "g_883", print_hash_value);
    for (i = 0; i < 8; i++)
    {
        for (j = 0; j < 5; j++)
        {
            transparent_crc(g_888[i][j].f0, "g_888[i][j].f0", print_hash_value);
            if (print_hash_value) printf("index = [%d][%d]\n", i, j);

        }
    }
    transparent_crc(g_949.f0, "g_949.f0", print_hash_value);
    transparent_crc(g_949.f1, "g_949.f1", print_hash_value);
    transparent_crc(g_949.f2, "g_949.f2", print_hash_value);
    transparent_crc(g_949.f3, "g_949.f3", print_hash_value);
    transparent_crc(g_949.f4, "g_949.f4", print_hash_value);
    transparent_crc(g_949.f5, "g_949.f5", print_hash_value);
    transparent_crc(g_949.f6, "g_949.f6", print_hash_value);
    transparent_crc(g_949.f7, "g_949.f7", print_hash_value);
    transparent_crc(g_949.f8, "g_949.f8", print_hash_value);
    transparent_crc(g_949.f9, "g_949.f9", print_hash_value);
    transparent_crc(g_1028.f0, "g_1028.f0", print_hash_value);
    transparent_crc(g_1028.f1, "g_1028.f1", print_hash_value);
    transparent_crc(g_1028.f2, "g_1028.f2", print_hash_value);
    transparent_crc(g_1028.f3, "g_1028.f3", print_hash_value);
    transparent_crc(g_1028.f4, "g_1028.f4", print_hash_value);
    transparent_crc(g_1028.f5, "g_1028.f5", print_hash_value);
    transparent_crc(g_1028.f6, "g_1028.f6", print_hash_value);
    transparent_crc(g_1028.f7, "g_1028.f7", print_hash_value);
    transparent_crc(g_1028.f8, "g_1028.f8", print_hash_value);
    transparent_crc(g_1028.f9, "g_1028.f9", print_hash_value);
    for (i = 0; i < 2; i++)
    {
        for (j = 0; j < 5; j++)
        {
            for (k = 0; k < 4; k++)
            {
                transparent_crc(g_1032[i][j][k].f0, "g_1032[i][j][k].f0", print_hash_value);
                if (print_hash_value) printf("index = [%d][%d][%d]\n", i, j, k);

            }
        }
    }
    transparent_crc(g_1168.f0, "g_1168.f0", print_hash_value);
    transparent_crc(g_1168.f1, "g_1168.f1", print_hash_value);
    transparent_crc(g_1168.f2, "g_1168.f2", print_hash_value);
    transparent_crc(g_1168.f3, "g_1168.f3", print_hash_value);
    transparent_crc(g_1168.f4, "g_1168.f4", print_hash_value);
    transparent_crc(g_1168.f5, "g_1168.f5", print_hash_value);
    transparent_crc(g_1168.f6, "g_1168.f6", print_hash_value);
    transparent_crc(g_1168.f7, "g_1168.f7", print_hash_value);
    transparent_crc(g_1168.f8, "g_1168.f8", print_hash_value);
    transparent_crc(g_1168.f9, "g_1168.f9", print_hash_value);
    transparent_crc(g_1197, "g_1197", print_hash_value);
    for (i = 0; i < 8; i++)
    {
        transparent_crc(g_1265[i], "g_1265[i]", print_hash_value);
        if (print_hash_value) printf("index = [%d]\n", i);

    }
    transparent_crc(g_1274, "g_1274", print_hash_value);
    transparent_crc(g_1283.f0, "g_1283.f0", print_hash_value);
    transparent_crc(g_1358, "g_1358", print_hash_value);
    for (i = 0; i < 7; i++)
    {
        transparent_crc(g_1440[i].f0, "g_1440[i].f0", print_hash_value);
        if (print_hash_value) printf("index = [%d]\n", i);

    }
    transparent_crc(g_1494, "g_1494", print_hash_value);
    transparent_crc(g_1504.f0, "g_1504.f0", print_hash_value);
    transparent_crc(g_1504.f1, "g_1504.f1", print_hash_value);
    transparent_crc(g_1504.f2, "g_1504.f2", print_hash_value);
    transparent_crc(g_1504.f3, "g_1504.f3", print_hash_value);
    transparent_crc(g_1504.f4, "g_1504.f4", print_hash_value);
    transparent_crc(g_1504.f5, "g_1504.f5", print_hash_value);
    transparent_crc(g_1504.f6, "g_1504.f6", print_hash_value);
    transparent_crc(g_1504.f7, "g_1504.f7", print_hash_value);
    transparent_crc(g_1504.f8, "g_1504.f8", print_hash_value);
    transparent_crc(g_1504.f9, "g_1504.f9", print_hash_value);
    for (i = 0; i < 5; i++)
    {
        for (j = 0; j < 9; j++)
        {
            for (k = 0; k < 5; k++)
            {
                transparent_crc(g_1546[i][j][k], "g_1546[i][j][k]", print_hash_value);
                if (print_hash_value) printf("index = [%d][%d][%d]\n", i, j, k);

            }
        }
    }
    transparent_crc(g_1572.f0, "g_1572.f0", print_hash_value);
    transparent_crc(g_1572.f1, "g_1572.f1", print_hash_value);
    transparent_crc(g_1572.f2, "g_1572.f2", print_hash_value);
    transparent_crc(g_1572.f3, "g_1572.f3", print_hash_value);
    transparent_crc(g_1572.f4, "g_1572.f4", print_hash_value);
    transparent_crc(g_1572.f5, "g_1572.f5", print_hash_value);
    transparent_crc(g_1572.f6, "g_1572.f6", print_hash_value);
    transparent_crc(g_1572.f7, "g_1572.f7", print_hash_value);
    transparent_crc(g_1572.f8, "g_1572.f8", print_hash_value);
    transparent_crc(g_1572.f9, "g_1572.f9", print_hash_value);
    for (i = 0; i < 5; i++)
    {
        for (j = 0; j < 8; j++)
        {
            transparent_crc(g_1601[i][j], "g_1601[i][j]", print_hash_value);
            if (print_hash_value) printf("index = [%d][%d]\n", i, j);

        }
    }
    transparent_crc(g_1657, "g_1657", print_hash_value);
    transparent_crc(g_1666, "g_1666", print_hash_value);
    transparent_crc(g_1684.f0, "g_1684.f0", print_hash_value);
    for (i = 0; i < 7; i++)
    {
        transparent_crc(g_1722[i].f0, "g_1722[i].f0", print_hash_value);
        if (print_hash_value) printf("index = [%d]\n", i);

    }
    transparent_crc(g_1857, "g_1857", print_hash_value);
    transparent_crc(g_1882.f0, "g_1882.f0", print_hash_value);
    transparent_crc(g_1882.f1, "g_1882.f1", print_hash_value);
    transparent_crc(g_1882.f2, "g_1882.f2", print_hash_value);
    transparent_crc(g_1882.f3, "g_1882.f3", print_hash_value);
    transparent_crc(g_1882.f4, "g_1882.f4", print_hash_value);
    transparent_crc(g_1882.f5, "g_1882.f5", print_hash_value);
    transparent_crc(g_1882.f6, "g_1882.f6", print_hash_value);
    transparent_crc(g_1882.f7, "g_1882.f7", print_hash_value);
    transparent_crc(g_1882.f8, "g_1882.f8", print_hash_value);
    transparent_crc(g_1882.f9, "g_1882.f9", print_hash_value);
    transparent_crc(g_1912, "g_1912", print_hash_value);
    transparent_crc(g_1920, "g_1920", print_hash_value);
    for (i = 0; i < 10; i++)
    {
        for (j = 0; j < 8; j++)
        {
            for (k = 0; k < 3; k++)
            {
                transparent_crc(g_1935[i][j][k].f0, "g_1935[i][j][k].f0", print_hash_value);
                transparent_crc(g_1935[i][j][k].f1, "g_1935[i][j][k].f1", print_hash_value);
                transparent_crc(g_1935[i][j][k].f2, "g_1935[i][j][k].f2", print_hash_value);
                transparent_crc(g_1935[i][j][k].f3, "g_1935[i][j][k].f3", print_hash_value);
                transparent_crc(g_1935[i][j][k].f4, "g_1935[i][j][k].f4", print_hash_value);
                transparent_crc(g_1935[i][j][k].f5, "g_1935[i][j][k].f5", print_hash_value);
                transparent_crc(g_1935[i][j][k].f6, "g_1935[i][j][k].f6", print_hash_value);
                transparent_crc(g_1935[i][j][k].f7, "g_1935[i][j][k].f7", print_hash_value);
                transparent_crc(g_1935[i][j][k].f8, "g_1935[i][j][k].f8", print_hash_value);
                transparent_crc(g_1935[i][j][k].f9, "g_1935[i][j][k].f9", print_hash_value);
                if (print_hash_value) printf("index = [%d][%d][%d]\n", i, j, k);

            }
        }
    }
    transparent_crc(g_1970.f0, "g_1970.f0", print_hash_value);
    transparent_crc(g_1970.f1, "g_1970.f1", print_hash_value);
    transparent_crc(g_1970.f2, "g_1970.f2", print_hash_value);
    transparent_crc(g_1970.f3, "g_1970.f3", print_hash_value);
    transparent_crc(g_1970.f4, "g_1970.f4", print_hash_value);
    transparent_crc(g_1970.f5, "g_1970.f5", print_hash_value);
    transparent_crc(g_1970.f6, "g_1970.f6", print_hash_value);
    transparent_crc(g_1970.f7, "g_1970.f7", print_hash_value);
    transparent_crc(g_1970.f8, "g_1970.f8", print_hash_value);
    transparent_crc(g_1970.f9, "g_1970.f9", print_hash_value);
    transparent_crc(g_1980.f0, "g_1980.f0", print_hash_value);
    transparent_crc(g_1980.f1, "g_1980.f1", print_hash_value);
    transparent_crc(g_1980.f2, "g_1980.f2", print_hash_value);
    transparent_crc(g_1980.f3, "g_1980.f3", print_hash_value);
    transparent_crc(g_1980.f4, "g_1980.f4", print_hash_value);
    transparent_crc(g_1980.f5, "g_1980.f5", print_hash_value);
    transparent_crc(g_1980.f6, "g_1980.f6", print_hash_value);
    transparent_crc(g_1980.f7, "g_1980.f7", print_hash_value);
    transparent_crc(g_1980.f8, "g_1980.f8", print_hash_value);
    transparent_crc(g_1980.f9, "g_1980.f9", print_hash_value);
    for (i = 0; i < 9; i++)
    {
        transparent_crc(g_2022[i], "g_2022[i]", print_hash_value);
        if (print_hash_value) printf("index = [%d]\n", i);

    }
    transparent_crc(g_2057, "g_2057", print_hash_value);
    transparent_crc(g_2108, "g_2108", print_hash_value);
    transparent_crc(g_2244.f0, "g_2244.f0", print_hash_value);
    transparent_crc(g_2244.f1, "g_2244.f1", print_hash_value);
    transparent_crc(g_2244.f2, "g_2244.f2", print_hash_value);
    transparent_crc(g_2244.f3, "g_2244.f3", print_hash_value);
    transparent_crc(g_2244.f4, "g_2244.f4", print_hash_value);
    transparent_crc(g_2244.f5, "g_2244.f5", print_hash_value);
    transparent_crc(g_2244.f6, "g_2244.f6", print_hash_value);
    transparent_crc(g_2244.f7, "g_2244.f7", print_hash_value);
    transparent_crc(g_2244.f8, "g_2244.f8", print_hash_value);
    transparent_crc(g_2244.f9, "g_2244.f9", print_hash_value);
    transparent_crc(g_2264.f0, "g_2264.f0", print_hash_value);
    transparent_crc(g_2412.f0, "g_2412.f0", print_hash_value);
    for (i = 0; i < 3; i++)
    {
        for (j = 0; j < 5; j++)
        {
            transparent_crc(g_2418[i][j].f0, "g_2418[i][j].f0", print_hash_value);
            if (print_hash_value) printf("index = [%d][%d]\n", i, j);

        }
    }
    transparent_crc(g_2511.f0, "g_2511.f0", print_hash_value);
    transparent_crc(g_2521.f0, "g_2521.f0", print_hash_value);
    for (i = 0; i < 7; i++)
    {
        transparent_crc(g_2593[i], "g_2593[i]", print_hash_value);
        if (print_hash_value) printf("index = [%d]\n", i);

    }
    transparent_crc(g_2598, "g_2598", print_hash_value);
    transparent_crc(g_2610.f0, "g_2610.f0", print_hash_value);
    for (i = 0; i < 7; i++)
    {
        transparent_crc(g_2707[i].f0, "g_2707[i].f0", print_hash_value);
        transparent_crc(g_2707[i].f1, "g_2707[i].f1", print_hash_value);
        transparent_crc(g_2707[i].f2, "g_2707[i].f2", print_hash_value);
        transparent_crc(g_2707[i].f3, "g_2707[i].f3", print_hash_value);
        transparent_crc(g_2707[i].f4, "g_2707[i].f4", print_hash_value);
        transparent_crc(g_2707[i].f5, "g_2707[i].f5", print_hash_value);
        transparent_crc(g_2707[i].f6, "g_2707[i].f6", print_hash_value);
        transparent_crc(g_2707[i].f7, "g_2707[i].f7", print_hash_value);
        transparent_crc(g_2707[i].f8, "g_2707[i].f8", print_hash_value);
        transparent_crc(g_2707[i].f9, "g_2707[i].f9", print_hash_value);
        if (print_hash_value) printf("index = [%d]\n", i);

    }
    transparent_crc(g_2742.f0, "g_2742.f0", print_hash_value);
    transparent_crc(g_2742.f1, "g_2742.f1", print_hash_value);
    transparent_crc(g_2742.f2, "g_2742.f2", print_hash_value);
    transparent_crc(g_2742.f3, "g_2742.f3", print_hash_value);
    transparent_crc(g_2742.f4, "g_2742.f4", print_hash_value);
    transparent_crc(g_2742.f5, "g_2742.f5", print_hash_value);
    transparent_crc(g_2742.f6, "g_2742.f6", print_hash_value);
    transparent_crc(g_2742.f7, "g_2742.f7", print_hash_value);
    transparent_crc(g_2742.f8, "g_2742.f8", print_hash_value);
    transparent_crc(g_2742.f9, "g_2742.f9", print_hash_value);
    transparent_crc(g_2758.f0, "g_2758.f0", print_hash_value);
    transparent_crc(g_2833.f0, "g_2833.f0", print_hash_value);
    transparent_crc(g_2842.f0, "g_2842.f0", print_hash_value);
    transparent_crc(g_2853.f0, "g_2853.f0", print_hash_value);
    transparent_crc(g_2853.f1, "g_2853.f1", print_hash_value);
    transparent_crc(g_2853.f2, "g_2853.f2", print_hash_value);
    transparent_crc(g_2853.f3, "g_2853.f3", print_hash_value);
    transparent_crc(g_2853.f4, "g_2853.f4", print_hash_value);
    transparent_crc(g_2853.f5, "g_2853.f5", print_hash_value);
    transparent_crc(g_2853.f6, "g_2853.f6", print_hash_value);
    transparent_crc(g_2853.f7, "g_2853.f7", print_hash_value);
    transparent_crc(g_2853.f8, "g_2853.f8", print_hash_value);
    transparent_crc(g_2853.f9, "g_2853.f9", print_hash_value);
    platform_main_end(crc32_context ^ 0xFFFFFFFFUL, print_hash_value);
    return 0;
}

/************************ statistics *************************
XXX max struct depth: 1
breakdown:
   depth: 0, occurrence: 671
   depth: 1, occurrence: 69
XXX total union variables: 17

XXX non-zero bitfields defined in structs: 9
XXX zero bitfields defined in structs: 0
XXX const bitfields defined in structs: 2
XXX volatile bitfields defined in structs: 5
XXX structs with bitfields in the program: 37
breakdown:
   indirect level: 0, occurrence: 16
   indirect level: 1, occurrence: 9
   indirect level: 2, occurrence: 5
   indirect level: 3, occurrence: 2
   indirect level: 4, occurrence: 5
XXX full-bitfields structs in the program: 0
breakdown:
XXX times a bitfields struct's address is taken: 138
XXX times a bitfields struct on LHS: 0
XXX times a bitfields struct on RHS: 24
XXX times a single bitfield on LHS: 1
XXX times a single bitfield on RHS: 77

XXX max expression depth: 58
breakdown:
   depth: 1, occurrence: 390
   depth: 2, occurrence: 91
   depth: 3, occurrence: 8
   depth: 4, occurrence: 5
   depth: 5, occurrence: 3
   depth: 6, occurrence: 3
   depth: 7, occurrence: 1
   depth: 9, occurrence: 1
   depth: 11, occurrence: 3
   depth: 13, occurrence: 2
   depth: 14, occurrence: 1
   depth: 15, occurrence: 5
   depth: 16, occurrence: 6
   depth: 17, occurrence: 2
   depth: 18, occurrence: 7
   depth: 19, occurrence: 3
   depth: 20, occurrence: 3
   depth: 21, occurrence: 2
   depth: 22, occurrence: 8
   depth: 23, occurrence: 9
   depth: 24, occurrence: 3
   depth: 25, occurrence: 3
   depth: 26, occurrence: 4
   depth: 27, occurrence: 3
   depth: 28, occurrence: 5
   depth: 29, occurrence: 3
   depth: 30, occurrence: 3
   depth: 31, occurrence: 3
   depth: 32, occurrence: 1
   depth: 35, occurrence: 1
   depth: 36, occurrence: 1
   depth: 37, occurrence: 1
   depth: 44, occurrence: 1
   depth: 52, occurrence: 1
   depth: 58, occurrence: 1

XXX total number of pointers: 604

XXX times a variable address is taken: 1606
XXX times a pointer is dereferenced on RHS: 345
breakdown:
   depth: 1, occurrence: 284
   depth: 2, occurrence: 52
   depth: 3, occurrence: 8
   depth: 4, occurrence: 1
XXX times a pointer is dereferenced on LHS: 375
breakdown:
   depth: 1, occurrence: 336
   depth: 2, occurrence: 27
   depth: 3, occurrence: 12
XXX times a pointer is compared with null: 57
XXX times a pointer is compared with address of another variable: 12
XXX times a pointer is compared with another pointer: 16
XXX times a pointer is qualified to be dereferenced: 10219

XXX max dereference level: 5
breakdown:
   level: 0, occurrence: 0
   level: 1, occurrence: 3389
   level: 2, occurrence: 459
   level: 3, occurrence: 387
   level: 4, occurrence: 155
   level: 5, occurrence: 135
XXX number of pointers point to pointers: 284
XXX number of pointers point to scalars: 271
XXX number of pointers point to structs: 43
XXX percent of pointers has null in alias set: 31
XXX average alias set size: 1.42

XXX times a non-volatile is read: 2207
XXX times a non-volatile is write: 1140
XXX times a volatile is read: 152
XXX    times read thru a pointer: 25
XXX times a volatile is write: 32
XXX    times written thru a pointer: 9
XXX times a volatile is available for access: 7.47e+03
XXX percentage of non-volatile access: 94.8

XXX forward jumps: 4
XXX backward jumps: 6

XXX stmts: 400
XXX max block depth: 5
breakdown:
   depth: 0, occurrence: 31
   depth: 1, occurrence: 48
   depth: 2, occurrence: 55
   depth: 3, occurrence: 58
   depth: 4, occurrence: 87
   depth: 5, occurrence: 121

XXX percentage a fresh-made variable is used: 16.9
XXX percentage an existing variable is used: 83.1
FYI: the random generator makes assumptions about the integer size. See platform.info for more details.
********************* end of statistics **********************/

